报错如下

1.You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘longint)’ at line 1
2.Unable to execute schema management to JDBC target [create table hibernate_sequence (next_val longint)]
3.Method “login” failed for object [email protected]

出错原因

hibernate.hbm.xml中,已经配置好各项信息,但是在可视化界面不小心重复配置了其他数据库的方言,导致出错。
关于使用hibernate配置文件出错

相关文章: