SQL Server 数据库 配置文件需要更改吗?
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-configuration PUBLIC
"-//Hibernate/Hibernate Configuration DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">
<hibernate-configuration>
<session-factory>
<property name="connection.usernname"></property>
<property name="connection.password"></property>
<property name="connection.driver_class">com.sql.jdbc.Driver</property>
<property name="connection.url">jdbc:sql://hibernate?useUnicode=true&characterEncoding=utf-8</property>
<property name="dialect">org.hibernate.dialect.SQLDialect</property>
<property name="show_sql">true</property>
<property name="format_sql">true</property>
<property name="hbm2ddlauto></property>
<mapping resource="Students.hbm.xml/>
</session-factory>
</hibernate-configuration>