Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-09-2007, 08:38 AM
Member
 
Join Date: Jul 2007
Posts: 74
Rep Power: 0
Swamipsn is on a distinguished road
Smile JDBC Driver problem
Hi,
I am using "com.microsoft.jdbc.sqlserver.SQLServerDriver" and "net.sourceforge.jtds.jdbc.Driver" for SQLServer 7.0 but both of the drivers are not support my JVM and throw class not found exception. So please anydody suggest some other drivers which are support SQLServer 7.0 for JDK1.5..
Bookmark Post in Technorati
Reply With Quote
  #2 (permalink)  
Old 08-09-2007, 09:53 AM
Member
 
Join Date: Jul 2007
Posts: 9
Rep Power: 0
vata2999 is on a distinguished road
Default
You can use jdbc-odbc bridge but it is too slow java is not work with sql
well
Code:
 Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
Connection con=DriverManager.getConnection("jdbc:odbc:Driver={MS 
SQL};server=.;database=northwind","sa","secret");
Or use DSN(Data source name)
Code:
DriverManager.getConnection("jdbc:odbc:dsnName");
Bookmark Post in Technorati
Reply With Quote
  #3 (permalink)  
Old 08-09-2007, 04:35 PM
Member
 
Join Date: Jul 2007
Posts: 74
Rep Power: 0
Swamipsn is on a distinguished road
Default
No I dont want to use jdbcdbc dridge. I want direct SQLServer driver
Bookmark Post in Technorati
Reply With Quote
  #4 (permalink)  
Old 08-09-2007, 04:55 PM
Member
 
Join Date: Aug 2007
Posts: 47
Rep Power: 0
henry_78 is on a distinguished road
Default
Hi,
Areu sure u have downoladed frominternet the jar file of the diver and included it in the path of the your application???
Make sure that u did, Bye.
Bookmark Post in Technorati
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Using PostgreSQL JDBC driver JavaForums Java Blogs 0 12-21-2007 03:50 PM
Jdbc Driver For Oracle Swamipsn New To Java 0 08-14-2007 05:31 AM
JDBC driver connection problem creativehacker Database 3 07-10-2007 10:58 PM
Help with JDBC driver Daniel Database 2 07-03-2007 09:16 PM
ClassNotFoundException com.mysql.jdbc.Driver Heather Database 2 06-30-2007 03:42 PM


All times are GMT +2. The time now is 12:18 AM.



VBulletin, Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2009, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org