Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to connect to sql server using windows authentication

 
Kunaal A Trehan
Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You cannot connect to SQL Server via JDBC using Windows integrated security. You must use SQL Server authentication.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic