Hi. I have developed a website using Borland JBuilder v6 but cannot connect to my database on Oracle v8.1 via code. If I use the Database pilot, I can connect successfully:
Database Pilot
URL jdbc.oracleci8:@GEM
Driver oracle.jdbc.driver.OracleDriver
UserName GEM
Database Product Oracle
Database Version Oracle 8i Enterprise Edition Release 8.1.7.0.0 - Production
Driver Version 8.1.7.0.0
However, I get the following messages when accessing from the program:
oracle.jdbc.driver.OracleDriver
No suitable driver
Here is the code I am using:
static {
initializeConnections("oracle.jdbc.driver.OracleDriver",
// "jdbcracle:thin:@localhost:1521:ORCL",
"jdbcracle
ci8:@GEM",
"gem", "gm", 3);
}//initializeConnections Method
Please let me know if there anything I have left out or if there is more information that you require as I am new to Java?
Thanks,
Chad


ci8:@GEM
Reply With Quote


Bookmarks