JDBC-ODBC-Bridge
- From: Christian Vallant <christian.vallant@xxxxxxx>
- Date: Tue, 29 Nov 2005 19:47:34 +0100
Hello!
I have an ODBC-Driver under Linux running. Now I need a connection from java to the Database.
I will use the java-odbc-bridge to connect to the server. But i get the following error:
java.lang.NullPointerException at sun.jdbc.odbc.JdbcOdbcDriver.initialize(JdbcOdbcDriver.java:436) at sun.jdbc.odbc.JdbcOdbcDriver.connect(JdbcOdbcDriver.java:153) at java.sql.DriverManager.getConnection(DriverManager.java:525) at java.sql.DriverManager.getConnection(DriverManager.java:193) at ProConnection.getConnection(ProConnection.java:14) at testmain.main(testmain.java:12)
Under Openoffice2 I can connect with the ODBC-Driver to the database, but under java it doesn't work. Also in the console the connection works fine.
Can anyone help me to solve the problem. I don't want to bye a jdbc driver, because it is very expensive and i need only a simple query from the database.
I use ubuntu 5.10 and an openlink odbc-driver.
Best regards Christian .
- Follow-Ups:
- Re: JDBC-ODBC-Bridge
- From: Herman Timmermans
- Re: JDBC-ODBC-Bridge
- Prev by Date: Re: Needed: An Efficient, reliable and smart way to copy data from one DB to another
- Next by Date: Re: JDBC-ODBC-Bridge
- Previous by thread: Signature Capture Applet - Version 2
- Next by thread: Re: JDBC-ODBC-Bridge
- Index(es):
Relevant Pages
|