问答详情
源自:1-11 通过Hibernate API编写访问数据库的代码

hibernate测试时出错,1-11节的课

八月 22, 2017 10:58:25 上午 org.hibernate.Version logVersion

INFO: HHH000412: Hibernate Core {5.2.10.Final}

八月 22, 2017 10:58:25 上午 org.hibernate.cfg.Environment <clinit>

INFO: HHH000206: hibernate.properties not found

八月 22, 2017 10:58:26 上午 org.hibernate.annotations.common.reflection.java.JavaReflectionManager <clinit>

INFO: HCANN000001: Hibernate Commons Annotations {5.0.1.Final}

八月 22, 2017 10:58:26 上午 org.hibernate.engine.jdbc.connections.internal.DriverManagerConnectionProviderImpl configure

WARN: HHH10001002: Using Hibernate built-in connection pool (not for production use!)

八月 22, 2017 10:58:26 上午 org.hibernate.engine.jdbc.connections.internal.DriverManagerConnectionProviderImpl buildCreator

INFO: HHH10001005: using driver [com.mysql.jdbc.Driver] at URL [jdbc:mysql///localhost:3306/hibernate?useUnicode=true&characterEncoding=UTF-8]

八月 22, 2017 10:58:26 上午 org.hibernate.engine.jdbc.connections.internal.DriverManagerConnectionProviderImpl buildCreator

INFO: HHH10001001: Connection properties: {user=root, password=****}

八月 22, 2017 10:58:26 上午 org.hibernate.engine.jdbc.connections.internal.DriverManagerConnectionProviderImpl buildCreator

INFO: HHH10001003: Autocommit mode: false

八月 22, 2017 10:58:26 上午 org.hibernate.engine.jdbc.connections.internal.PooledConnections <init>

INFO: HHH000115: Hibernate connection pool size: 20 (min=1)


提问者:慕盖茨4668640 2017-08-22 11:06

个回答

  • 慕盖茨4668640
    2017-08-22 11:31:41

    已解决。查看错误要看左下方的Failure Trace,不是控制台的。