Hibernate version:
3
I am using sql server 2005, I am trying to use integreted security with and I am trying to get hibernate to connect to the database with a username and password I specify instead of using the credentials I am currently logged in with.
my cfg file looks like:
Code:
<property name="connection.driver_class">com.microsoft.sqlserver.jdbc.SQLServerDriver</property>
<property name="connection.url">jdbc:sqlserver://server\instance;integratedSecurity=true;databaseName=db</property>
<property name="connection.username">username</property>
<property name="connection.password">password</property>