为了账号安全,请及时绑定邮箱和手机立即绑定

Disabling contextual LOB creation as connection was null

2016-6-21 6:12:26 org.hibernate.annotations.common.Version <clinit>
INFO: HCANN000001: Hibernate Commons Annotations {4.0.2.Final}
2016-6-21 6:12:26 org.hibernate.Version logVersion
INFO: HHH000412: Hibernate Core {4.2.21.Final}
2016-6-21 6:12:26 org.hibernate.cfg.Environment <clinit>
INFO: HHH000206: hibernate.properties not found
2016-6-21 6:12:26 org.hibernate.cfg.Environment buildBytecodeProvider
INFO: HHH000021: Bytecode provider name : javassist
2016-6-21 6:12:26 org.hibernate.cfg.Configuration configure
INFO: HHH000043: Configuring from resource: /hibernate.cfg.xml
2016-6-21 6:12:26 org.hibernate.cfg.Configuration getConfigurationInputStream
INFO: HHH000040: Configuration resource: /hibernate.cfg.xml
2016-6-21 6:12:26 org.hibernate.cfg.Configuration addResource
INFO: HHH000221: Reading mappings from resource: entity/Students.hbm.xml
2016-6-21 6:12:26 org.hibernate.cfg.Configuration addResource
INFO: HHH000221: Reading mappings from resource: entity/Users.hbm.xml
2016-6-21 6:12:26 org.hibernate.cfg.Configuration doConfigure
INFO: HHH000041: Configured SessionFactory: null
2016-6-21 6:12:26 org.hibernate.service.jdbc.connections.internal.DriverManagerConnectionProviderImpl configure
WARN: HHH000402: Using Hibernate built-in connection pool (not for production use!)
2016-6-21 6:12:26 org.hibernate.service.jdbc.connections.internal.DriverManagerConnectionProviderImpl configure
INFO: HHH000115: Hibernate connection pool size: 20
2016-6-21 6:12:26 org.hibernate.service.jdbc.connections.internal.DriverManagerConnectionProviderImpl configure
INFO: HHH000006: Autocommit mode: false
2016-6-21 6:12:26 org.hibernate.service.jdbc.connections.internal.DriverManagerConnectionProviderImpl configure
INFO: HHH000401: using driver [com.mysql.jdbc.Driver] at URL [jdbc:mysql://localhost:3306/test?useUnicode=true&characterEncoding=UTF-8]
2016-6-21 6:12:26 org.hibernate.service.jdbc.connections.internal.DriverManagerConnectionProviderImpl configure
INFO: HHH000046: Connection properties: {user=root, password=****}
2016-6-21 6:12:26 org.hibernate.engine.jdbc.internal.JdbcServicesImpl configure
WARN: HHH000342: Could not obtain connection to query metadata : Access denied for user 'root'@'localhost' (using password: YES)
2016-6-21 6:12:26 org.hibernate.dialect.Dialect <init>
INFO: HHH000400: Using dialect: org.hibernate.dialect.MySQLDialect
2016-6-21 6:12:26 org.hibernate.engine.jdbc.internal.LobCreatorBuilder useContextualLobCreation
INFO: HHH000422: Disabling contextual LOB creation as connection was null

正在回答

1 回答

你的MySQL的用户名密码有没有写对啊?

0 回复 有任何疑惑可以回复我~

举报

0/150
提交
取消

Disabling contextual LOB creation as connection was null

我要回答 关注问题
意见反馈 帮助中心 APP下载
官方微信