This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Hi Everyone I have the following two statements in my code, import oracle.jdbc.driver.*; import oracle.sql.*; When i try to compile the code it gives me the following error messages, picloader.java:13: package oracle.jdbc.driver does no import oracle.jdbc.driver.*; ^ picloader.java:14: package oracle.sql does not exist import oracle.sql.*; Can somebody tell me how to solve this problem.. this is very very urgent... Thank You Jyothsna [ November 25, 2003: Message edited by: Bear Bibeault ]
from the oracle JDBC docs: "Your code should use the package oracle.jdbc instead of the package oracle.jdbc.driver used in earlier versions of Oracle. Use of the package oracle.jdbc.driver is now deprecated, but will continue to be supported for backwards compatibility." Jamie
never mind my post, its not the problem ( the whole backwards compatiblility part! ). Anyways, which driver are you using ( in your classpath ) ? If you are using the classes12.zip or higher thin driver, then your code should work fine unless you've got a classpath problem as stated above. Jamie