ss
<hibernate-configuration> <session-factory> <property name="hibernate.dialect">org.hibernate.dialect.MysqLDialect</property> <property name="hibernate.connection.driver_class">com.MysqL.jdbc.Driver</property> <property name="hibernate.connection.url">jdbc:MysqL://127.0.0.1:3306/mydb01</property> <property name="hibernate.connection.username">root</property> <property name="hibernate.connection.password">admin</property> <property name="hibernate.show_sql">true</property> <mapping resource="lgs/hibernate/session/User.hbm.xml"/> <mapping resource="lgs/hibernate/session/User2.hbm.xml"/> <mapping resource="lgs/hibernate/session/User3.hbm.xml"/> </session-factory> </hibernate-configuration>
aaa