各位慕友帮帮忙看看这个问题?

这是错误信息:

八月 11, 2016 6:38:55 下午 org.hibernate.annotations.common.Version <clinit>

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 <clinit>

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

这是配置文件里的基本配置信息:

     <property name="connection.username">root</property>

    <property name="conncetion.password">root</property>

    <!-- 指定数据库的驱动 -->

    <property name="conncetion.driver_class">com.mysql.jdbc.Driver</property>

    <!-- 访问数据库的地址 -->

    <property name="conncetion.url">jdbc:mysql://localhost:3306/hibernate?useUnicode=true&amp;characterEncoding=UtF-8</property>

    <!-- MySQL的方言dialect,针对特殊的数据库进行优化 -->

    <property name="dialect">org.hibernate.dialect.MySQLDialect</property>


疯子520520
浏览 2628回答 1
1回答
打开App,查看更多内容
随时随地看视频慕课网APP