-->
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.  [ 6 posts ] 
Author Message
 Post subject: Suggested sample url for Sql Server
PostPosted: Thu Jul 28, 2005 7:05 pm 
Beginner
Beginner

Joined: Thu Jul 28, 2005 6:40 pm
Posts: 29
Hi;

I suggest you use the following url for the Sql Server sample as Northwind is the sample database shipped with Sql Server (like Scott with Oracle):

jdbc:microsoft:sqlserver://localhost:1433;DatabaseName=Northwind;SelectMethod=cursor

Also, why do you recomend against the MS drivers for Sql Server?

thanks - dave


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jul 29, 2005 3:34 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
because they are buggy

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jul 29, 2005 8:17 am 
Beginner
Beginner

Joined: Thu Jul 28, 2005 6:40 pm
Posts: 29
I've used the MS drivers for a couple of years and never had a problem with them. I have had problems with a 3rd party jdbc driver for Sql Server. So my experience has been that the MS drivers are more solid.

- dave


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jul 29, 2005 9:00 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
well, lucky you ;)

here is the list from top of my head:

Cannot call rs.getXXX("name") twice

Cannot in some case call rs.getXX() in another order than the resultset returns

Fails on some metadata calls

Inefficient compared to alternatives

and I bet you the jtds project can tell you more ;)

for basic usage its probably ok, but when you push it - then no dice ;)

all drivers has bugs - some has just more than others....

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jul 29, 2005 11:15 am 
Beginner
Beginner

Joined: Thu Jul 28, 2005 6:40 pm
Posts: 29
You might want to take a look at the latest version the getXxx() bugs were fixed awhile ago.

thanks - dave


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jul 29, 2005 11:19 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
I have not tried their new completely revamped version - only the version that have been around for ages without updates ;)

if it works for you fine, we recommend jtds until it has been proven otherwise ;)

(p.s. I forgot one thing: The MS drivers could not survive the hibernate test suite)

_________________
Max
Don't forget to rate


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 6 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.