Java Forums

Main Menu
Home
Today's Posts
FAQ
Search
Contact Us

Java Network
Java Tips
Java Tips Blog

Sponsored Links





Welcome to the Java Forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community, you will:

  • have access to post topics
  • communicate privately with other members (PM)
  • not see advertisements between posts
  • have the possibility to earn one of our surprises if you are an active member
  • access many other special features that will be introduced later.

Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-09-2007, 08:38 AM
Member
 
Join Date: Jul 2007
Posts: 72
Swamipsn is on a distinguished road
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
Sponsored Links
  #2 (permalink)  
Old 08-09-2007, 09:53 AM
Member
 
Join Date: Jul 2007
Posts: 9
vata2999 is on a distinguished road
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: 72
Swamipsn is on a distinguished road
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
henry_78 is on a distinguished road
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
Sponsored Links
Reply


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

vB 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 +3. The time now is 05:12 PM.


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