File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JDBC and the fly likes Sun jdbc odbc bridge error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Sun jdbc odbc bridge error" Watch "Sun jdbc odbc bridge error" New topic
Author

Sun jdbc odbc bridge error

Martin Lira
Ranch Hand

Joined: May 26, 2004
Posts: 97
Hi,
I get this error when I try to close the Connection to my jdbc-odbc bridge for a SQL Server.


Thanks,
Martin
Julian Kennedy
Ranch Hand

Joined: Aug 02, 2004
Posts: 823
I've never seen before this but, just a thought, do you begin a transaction and then close the connection without either a commit or rollback?

Jules
Stefan Wagner
Ranch Hand

Joined: Jun 02, 2003
Posts: 1923

Why do you use the jdbc-odbc-bridge, instead of a jdbc-driver?


http://home.arcor.de/hirnstrom/bewerbung
Martin Lira
Ranch Hand

Joined: May 26, 2004
Posts: 97
Whats wrong in using a JDBC-ODBC brige?
Julian Kennedy
Ranch Hand

Joined: Aug 02, 2004
Posts: 823
Martin,

This is what Sun has to say about their bridge driver.

Jules
Martin Lira
Ranch Hand

Joined: May 26, 2004
Posts: 97
Got it guys, i have switched to a MS Sql server type 4 JDBC driver.

Thanks,
ML
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Sun jdbc odbc bridge error
 
Similar Threads
need help
How to Connect SQL Server with java using JDBC
How can get the return code of a StoreProcedure?
JDBC with SQL 7
MAJOR problem with JDBC-ODBC..please help!!