hibernate.cfg.xml 的写法:
"-//Hibernate/Hibernate Configuration DTD 3.0//EN"
"">
org.hibernate.dialect.MySQLDialect
jdbc:mysql://localhost:3306/hibernate
org.gjt.mm.mysql.Driver
root
1012
50
30
true
true
org.hibernate.dialect.MySQLDialect
jdbc:mysql://localhost/student
student.hbm.xml的写法:
"-//Hibernate/Hibernate Mapping DTD 3.0//EN"
"">
Users may bid for or sell auction items.
阅读(989) | 评论(0) | 转发(0) |