I’m trying to import an OracleDatasource to connect to the OracleDriver and I believe it should be something like
import oracle.ojdbc.ojdbc8.OracleDataSource;
but the intellisense isn’t giving me the options I think should be available.
I installed the ojdbc8 package through the terminal and can see that the folders exist where I expected them to be.
If I look at the maven dependency paths in visual studio, these are also pointing where I’d expect them to –
I have also added these to the pom.xml
<dependency>
<groupId>com.oracle.ojdbc</groupId>
<artifactId>ojdbc8</artifactId>
<version>19.3.0.0</version>
</dependency>
<dependency>
<groupId>com.oracle.ojdbc</groupId>
<artifactId>ucp</artifactId>
<version>19.3.0.0</version>
</dependency>
Any suggestions what I should be looking for?