-->
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.  [ 3 posts ] 
Author Message
 Post subject: Question about SQLServer and Windows Authentication
PostPosted: Wed Apr 26, 2006 1:06 pm 
Newbie

Joined: Tue Apr 11, 2006 5:11 pm
Posts: 4
I'm looking all over the internet and I can't find any information on whether or not you can use Windows Authentication to connect to SQLServer.

For instance, in nHibernate you can have a connection string like this:

<add key="hibernate.connection.connection_string"
value="Server=myserver;initial catalog=mydatabase;Integrated Security=SSPI"/>

Can I do something similar to this in my hibernate.cfg.xml for Hibernate?


Top
 Profile  
 
 Post subject:
PostPosted: Wed Apr 26, 2006 1:18 pm 
Newbie

Joined: Tue Apr 11, 2006 5:11 pm
Posts: 4
I'm guessing it can't be done with the Microsoft JDBC driver.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Apr 26, 2006 10:20 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 7:19 pm
Posts: 2364
Location: Brisbane, Australia
I have been able to do this using jTDS JDBC driver (which I think is much better than MS version). Make sure you read the docs as you will need to install a native dll to make it work correctly.


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