-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 5 posts ] 
Author Message
 Post subject: Hibernate with SQL Server 6.5
PostPosted: Wed Aug 17, 2005 11:49 am 
Newbie

Joined: Wed Aug 17, 2005 10:50 am
Posts: 11
Hello,

We are integrating Hiberate with Struts(on WSAD 5.1) using SQL Server 6.5 as the back end. We have a JDBC driver jtds-1.1.jar and it worked fine with SQL Server 2000. As our company is using SQL Server 6.5 is there a driver we can use for connecting to the DB so that we could use hibernate?

Thank you,
Arun.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Aug 17, 2005 12:00 pm 
Regular
Regular

Joined: Thu Dec 02, 2004 7:11 am
Posts: 85
jTDS should support 6.5 version.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Aug 17, 2005 12:12 pm 
Regular
Regular

Joined: Thu Dec 02, 2004 7:11 am
Posts: 85
To connect to the SQL Server 6.5 with jTDS you need properly set "TDS" property:

jdbc:jtds:sqlserver://<server>/<database>;TDS=4.2

For more information see FAQ.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Aug 17, 2005 12:56 pm 
Newbie

Joined: Wed Aug 17, 2005 10:50 am
Posts: 11
[quote="sergeya"]To connect to the SQL Server 6.5 with jTDS you need properly set "TDS" property:

jdbc:jtds:sqlserver://<server>/<database>;TDS=4.2

For more information see [url=http://jtds.sourceforge.net/faq.html#urlFormat]FAQ[/url].[/quote]

Thank you very much, it resolved my problem. I wanted to give a credit of 10 points to you.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Aug 17, 2005 1:28 pm 
Regular
Regular

Joined: Thu Dec 02, 2004 7:11 am
Posts: 85
arunkd6 wrote:
Thank you very much, it resolved my problem.


Glad to hear it.

arunkd6 wrote:
I wanted to give a credit of 10 points to you.


Then just rate the answer. :-)


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 5 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.