Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Connect Java With Sql server 2008

 
Nivs Solanki
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can any one tell me how to connect java with sql server 2008 and which version of jar file is needed to connect

Thanks in advance
 
Prabhakar Reddy Bokka
Ranch Hand
Posts: 197
Java Oracle Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Its the same thing how you connect to other databases.
The jar file will be in the installation folder of sqlserver i think (generally it comes with database or db client).

go through the link SQL Server 2008 R2 - Using the JDBC Driver
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Another option is to use jTDS.
 
Nivs Solanki
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Guys

My java application is connected via jtds
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic