您的位置:首页 > 数据库

关于使用hibernate配置文件出错

2017-08-08 22:32 323 查看

报错如下

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 edu.fjnu.web.action.UserAction@16710c4c

出错原因

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

内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  hibernate sql