错误信息如下:
Caused by: java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]Can't start a cloned connection while in manual transaction mode.
解决办法:将
改为:
Caused by: java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]Can't start a cloned connection while in manual transaction mode.
解决办法:将
<property name="hibernate.connection.url">
jdbc:microsoft:sqlserver://loaclhost;DatabaseName=t </property>
改为:
<property name="hibernate.connection.url">
jdbc:microsoft:sqlserver://localhost;DatabaseName=t;SelectMethod=Cursor
</property>