hibernate setup guid

Setup GUID Hibernate
. 1, unzip the file open .RAR wherein the DOC / 152.html according to their operation;
2, the three .jar file copy under JDBD DRIVER LIB lib directory to
3, changes the src / the hibernate.properties
## MS SQL Server

hibernate.dialect net.sf.hibernate.dialect.SQLServerDialect
hibernate.connection.username sa
hibernate.connection.password ++++

## Microsoft Driver (not recommended!)
hibernate.connection.driver_class com.microsoft.jdbc.sqlserver.SQLServerDriver
hibernate.connection.url jdbc:microsoft:sqlserver://数据库名;DatabaseName=*****;SelectMethod=cursor

4 Write WEBAPPS RUN WITH TOMCAT (read the doc / reference / html / quickstart.html)

Guess you like

Origin blog.csdn.net/tojava/article/details/157052