Reputation: 198
Can anyone explain me feasibility of connecting java application with database in following scenarios?
Connecting
Java 4 application with ojbc14.jar with oracle 9i
Java 4 application with ojbc14.jar with oracle 18c
Java 4 application with ojbc8.jar with oracle 9i
Java 4 application with ojbc8.jar with oracle 18c
Java 8 application with ojbc14.jar with oracle 9i
Java 8 application with ojbc14.jar with oracle 18c
Java 8 application with ojbc8.jar with oracle 9i
Java 8 application with ojbc8.jar with oracle 18c
What issues will be faced if unable to connect in specific case from above?
Upvotes: 0
Views: 467
Reputation: 3763
The number 14 in ojdbc14.jar implies that it was compiled with JDK1.4. Similarly, 8 on ojdbc8.jar implies it was compiled with JDK8. Therefore, you won't be able to use ojdbc8.jar with JDK1.4.
Regarding backward compatibility of the Oracle Server you can refer to this matrix extracted from Oracle support:
Upvotes: 1