</property>
<mapping resource="Students.hbm.xml"/>
<mapping resource="Students.hbm.xml"/>
2016-10-20
<property name="connection.password"></property>
<!-- 显示SQL语句 -->
<property name="show_sql">true</property>
<property name="format_sql">true</property>
<property name="hbm2ddl.auto">create</property>
<!-- 定义方言 -->
<property name="dialect">
org.hibernate.dialect.MySQLDialect
<!-- 显示SQL语句 -->
<property name="show_sql">true</property>
<property name="format_sql">true</property>
<property name="hbm2ddl.auto">create</property>
<!-- 定义方言 -->
<property name="dialect">
org.hibernate.dialect.MySQLDialect
2016-10-20
<property name="connection.driver_class">
com.mysql.jdbc.Driver
</property>
<property name="connection.url">
jdbc:mysql://localhost:3306/hibernate?useUnicode=true&amp;characterEncoding=utf8
</property>
<property name="connection.username">root</property>
com.mysql.jdbc.Driver
</property>
<property name="connection.url">
jdbc:mysql://localhost:3306/hibernate?useUnicode=true&amp;characterEncoding=utf8
</property>
<property name="connection.username">root</property>
2016-10-20
public void(造福世界系列){ 因为那个hbm.xml需要自己配置,所以很容易出错,像我这种眼睛看不全的,我也是改了好多次才写好}
2016-10-20