aspose file tools*
The moose likes JDBC and the fly likes How to connect to sql server using windows authentication Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "How to connect to sql server using windows authentication" Watch "How to connect to sql server using windows authentication" New topic
Author

How to connect to sql server using windows authentication

Kunaal A Trehan
Ranch Hand

Joined: Feb 04, 2004
Posts: 63
Hi All
I am working on a project in which finally client will download the application using web start.Since for fetching data we need to connect to SQL server.We want to use windows authentication for connecting to SQL Server.
We are using hibernate to connect to DB.
Can any one help me out in this issue.

Thnx
Kunal
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

You cannot connect to SQL Server via JDBC using Windows integrated security. You must use SQL Server authentication.


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
 
Don't get me started about those stupid light bulbs.
 
subject: How to connect to sql server using windows authentication