Seperti yang disebutkan oleh Pencuri Pascal , gunakan salah satu driver. Dalam kasus JTDS, gunakan konfigurasi berikut.
<hibernate-configuration>
<session-factory>
<property name="connection.url">jdbc:jtds:sqlserver://XX.XX.XXX.XX:YYYY/DB-NAME</property>
<property name="connection.driver_class">net.sourceforge.jtds.jdbc.Driver</property>
<property name="connection.username">username</property>
<property name="connection.password">password</property>
<property name="dialect">org.hibernate.dialect.SQLServerDialect</property>
.
.
.
</session-factory>
</hibernate-configuration>
Dan dalam kasus Driver Microsoft SQL JDBC,
<hibernate-configuration>
<session-factory>
<property name="connection.url">jdbc:microsoft:sqlserver://XX.XX.XXX.XX:YYYY/DB-NAME</property>
<property name="connection.driver_class">com.microsoft.sqlserver.jdbc.SQLServerDriver</property>
<property name="connection.username">username</property>
<property name="connection.password">password</property>
<property name="dialect">org.hibernate.dialect.SQLServerDialect</property>
.
.
.
</session-factory>
</hibernate-configuration>