这是错误信息:
八月 11, 2016 6:38:55 下午 org.hibernate.annotations.common.Version
INFO: HCANN000001: Hibernate Commons Annotations {4.0.1.Final}
八月 11, 2016 6:38:55 下午 org.hibernate.Version logVersion
INFO: HHH000412: Hibernate Core {4.1.12.Final}
八月 11, 2016 6:38:55 下午 org.hibernate.cfg.Environment
INFO: HHH000206: hibernate.properties not found
八月 11, 2016 6:38:55 下午 org.hibernate.cfg.Environment buildBytecodeProvider
INFO: HHH000021: Bytecode provider name : javassist
八月 11, 2016 6:38:55 下午 org.hibernate.cfg.Configuration configure
INFO: HHH000043: Configuring from resource: /hibernate.cfg.xml
八月 11, 2016 6:38:55 下午 org.hibernate.cfg.Configuration getConfigurationInputStream
INFO: HHH000040: Configuration resource: /hibernate.cfg.xml
八月 11, 2016 6:38:56 下午 org.hibernate.internal.util.xml.DTDEntityResolver resolveEntity
WARN: HHH000223: Recognized obsolete hibernate namespace http://hibernate.sourceforge.net/. Use namespace http://www.hibernate.org/dtd/ instead. Refer to Hibernate 3.6 Migration Guide!
八月 11, 2016 6:38:56 下午 org.hibernate.cfg.Configuration addResource
INFO: HHH000221: Reading mappings from resource: Students.hbn.xml
这是配置文件里的基本配置信息:
root
root
com.mysql.jdbc.Driver
jdbc:mysql://localhost:3306/hibernate?useUnicode=true&characterEncoding=UtF-8
org.hibernate.dialect.MySQLDialect |