This content has been marked as final. Show 3 replies
For 11g use the 11g JDBC drivers.
Actually Shamesh you shouldn't have any trouble connecting to an 11g database with 10.2 drivers if you like. The setONSConfiguration() method does still exist in the 11g JDBC driver though (e.g. check the 22.214.171.124 javadoc).
To get hold of the ons.jar file you need to install a full client somewhere, e.g. on a PC, and then ons.jar will be in one of the subdirectories (I think either ons or opmn/lib from memory). You must make sure you are using the same JDBC and ONS jar file versions.
Note: I posted a message on OTN earlier in the year suggesting that the ons.jar file should be included on the JDBC downloads page but I don't think that got any response.
Thank you very much,
It seems like ojdbc6_g.jar contain setONSConfiguration function. Now I need to test if ons.jar is available for 11g. This should be seperate downloadable jar file. Oracle should add this in to their download list.