小编Ade*_*til的帖子

通过 JDBC 语句执行 DDL“create table hibernate_sequence (next_val bigint) type=MyISAM”时出错

我正在尝试将 hibernate orm 映射工具配置到我的 java 类并使用 MySQL。当我尝试运行该应用程序时,我在控制台日志上遇到错误,错误为执行 DDL“create table hibernate_sequence (next_val bigint) type=MyISAM” JDBC 语句。我现在使用的hibernate版本是5.4.10版本。

这是错误日志

Jan 23, 2022 7:32:34 PM org.hibernate.Version logVersion
INFO: HHH000412: Hibernate Core {5.4.10.Final}
Jan 23, 2022 7:32:35 PM org.hibernate.annotations.common.reflection.java.JavaReflectionManager <clinit>
INFO: HCANN000001: Hibernate Commons Annotations {5.1.0.Final}
Jan 23, 2022 7:32:35 PM org.hibernate.engine.jdbc.connections.internal.DriverManagerConnectionProviderImpl configure
WARN: HHH10001002: Using Hibernate built-in connection pool (not for production use!)
Jan 23, 2022 7:32:35 PM org.hibernate.engine.jdbc.connections.internal.DriverManagerConnectionProviderImpl buildCreator
INFO: HHH10001005: using driver [com.mysql.cj.jdbc.Driver] at URL [jdbc:mysql://localhost:3306/test]
Jan 23, 2022 7:32:35 PM org.hibernate.engine.jdbc.connections.internal.DriverManagerConnectionProviderImpl …
Run Code Online (Sandbox Code Playgroud)

mysql hibernate pojo hibernate.cfg.xml maven

2
推荐指数
1
解决办法
5258
查看次数

标签 统计

hibernate ×1

hibernate.cfg.xml ×1

maven ×1

mysql ×1

pojo ×1