I can't find OracleCallablestatement in ojdbc8. Is it replaced? if so with what?
<dependency>
<groupId>com.oracle.ojdbc</groupId>
<artifactId>ojdbc8</artifactId>
<scope>runtime</scope>
</dependency>
That's because the ojdbc8.jar
dependency scope is runtime
so classes are not available during compilation. If you need to use OracleCallableStatement
in your code change the scope to compile
.
<dependency>
<groupId>com.oracle.ojdbc</groupId>
<artifactId>ojdbc8</artifactId>
<scope>compile</scope>
</dependency>
Thanks for answer. Can you recommend a good source about scopes?
See official docs. Please accept the answer if it helped.