Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to connect to sql server using windows authentication
 
Similar Threads
JDBC Connection to MS SQL with Windows Authentication
connect to SQLServer Database in XP?
Problem in connecting to SQL server using jtds driver
Connection Problem
SQL Server DB connection