11/13/2022 0 Comments Oracle jdbc driver ojdbc5.jar![]() ![]() DriverManager.getConnection("jdbc:oracle5.". DriverManager.getConnection("jdbc:oracle14.". ![]() It seems to be working: public class DriverWrapper implements Driver , Just out of curiosity I implemented your second approach via isolated classloader. The trick here, of course, is figuring out how to specify which jar the connection needs to use the "" class from. ![]() So, I'm hoping one of two scenarios is possible:ġ) There's a connection string I'm simply overlooking which can use to connect to Oracle 8i w/ more recent OJDBC jars.Ģ) I can have multiple OJDBC jars on my classpath so that I can use ojdbc14.jar on an exception basis and ojdbc6.jar everywhere else. I'd rather not get locked into having to use the older ojdbc14.jar (especially as I'm using Java 6) as I might have to support higher Oracle databases quite soon in the future. Oracle JDBC Drivers Aqua Data Studio 20. Ditto if I use just the URL which does work against the more recent Oracle instances I'm connecting to. When I try to update to ojdbc5.jar or ojdbc6.jar, using the same code, I get an ArrayIndexOutofBoundsException. String url = c = DriverManager.getConnection(url, $USER, $PASSWORD) I find that the only way I can connect to my Oracle 8i instance is by using the ojdbc14.jar and the following: String driver = "" Of these data sources, we have multiple instances of Oracle running. I'm building an application which is collating data from multiple data sources. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |