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, I am trying to get Connection in Oracle. I dropped the classes12.jar in E:\jdk1.4.1\lib\classes12.jar. I also set the Classpath Variable in Windows-->Preferences-->java-->classpath variable
I also imported the project SIPortal which I am using The problem is I am not able to get the value of the connection. Its throwing error like: java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver But I am able to get the connection if I run the same program in Textpad. Its buggibg me for the past 2 days. I am not able to proceed.Pl. help me out. Thanks in advance, Bhuvana
You have to put 'classes12.jar' in the projects classpath. "Right clik on the project 'SIPortal'->Properties->Java Build Path->Libraies" (you can ref. to the classpath variable you have made) Rene [ January 03, 2004: Message edited by: Rene Larsen ]
Hi Rene, Thanks for the support. I did the following .its asking for folder and displays only the project name and not the jdbc class files. project 'SIPortal'->Properties->Java Build Path->Libraies" Pl. help Thanks, Bhuvana
Joined: Jul 18, 2001
Hi Rene, Thanks I got it. Please let me where to put the db.properties file for a Project SIPortal.I am using this for connection pooling. Thanks in advance, Bhuvana
Originally posted by Bhuvana Bala: Please let me where to put the db.properties file for a Project SIPortal.I am using this for connection pooling.
You can put your property file in the 'src' folder then will the property file automatic be put in the projects classpath. You just have to remember that the path you call 'db.properties' with, is the same under the 'src' folder. e.g. if you call db.properties like 'config/db.properties' then you'll put it in 'src' like this: 'src/config/db.properties' Rene