FAQ   Search   Memberlist   Usergroups   Statistics   Register 
 Profile   Log in to check your private messages   Log in 

How to Create a Database Connection to Oracle

 
       forum-omondo.com Forum Index -> Database Support
View previous topic :: View next topic  
Author Message
fsamland



Joined: 16 Jan 2004
Posts: 2

Posted: Fri Jan 16, 2004 11:47 am    Post subject: How to Create a Database Connection to Oracle

When I try to create a new Database Connection I always get no reponse from the dialog neither error dialog nor success dialog. In the database console window I see this message

Unable to create DatabaseConnection
java.lang.reflectInvocationTargetException

The log tells that the ClassLoader is searching java/sql/Savepoint
Is the an jar file missing in the classpath of the connection or of the project?
The classpath to the Oracle JDBC Thin driver is set in the prefrences
Back to top
xavier



Joined: 14 Mar 2003
Posts: 71

Posted: Fri Jan 16, 2004 3:45 pm    Post subject:

Hi,

Oracle provides several JDBC Thin drivers who are JDK dependant.

Use the 'ojdbc14.jar' if you use a JDK 1.4
or
Use the 'classes12.zip' if you use a JDK 1.3

The missing java.sql.Savepoint is a standard JDK 1.4 class, however this class is not present in the JDK 1.3.

Keep us informed.

Regards.
Back to top
fsamland



Joined: 16 Jan 2004
Posts: 2

Posted: Fri Jan 23, 2004 8:39 am    Post subject: thanx for help

Hello Xavier
thank you for your hint. I ran eclipse with a JDK 1.3 instead of 1.4. after changeing the vm param it works fine
bye
Friedbert
Back to top
Display posts from previous:   
       forum-omondo.com Forum Index -> Database Support All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum


Powered by phpBB 2.0.4 © 2001, 2002 phpBB Group