我正在尝试使用Windows身份验证配置hibernate。
我写了以下代码:
<property name="connection.driver_class">net.sourceforge.jtds.jdbc.Driver</property>
<property name="connection.url">jdbc:jtds:sqlserver://localhost/db_name;integratedSecurity=true</property>
<property name="dialect">org.hibernate.dialect.SQLServerDialect</property>
<property name="connection.username"></property>
<property name="connection.password"></property>
我收到以下错误消息:
“用户sa的登录失败...”
有人可以帮助我吗?