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

hibernate4+mysql5.5建表失败!!!!各种方言全试过了没用……

信息: Initializing Spring root WebApplicationContext

org.hibernate.dialect.MySQL5InnoDBDialect

[ERROR,SchemaUpdate,localhost-startStop-1] HHH000388: Unsuccessful: create table race@192.168.10.150.TT (id integer not null auto_increment, primary key (id)) ENGINE=InnoDB

[ERROR,SchemaUpdate,localhost-startStop-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 '@192.168.10.150.TT (id integer not null auto_increment, primary key (id)) ENGINE' at line 1

[ERROR,SchemaUpdate,localhost-startStop-1] HHH000388: Unsuccessful: create table race@192.168.10.150.t_users (id integer not null auto_increment, login_date datetime, password varchar(255), try_times integer, username varchar(255), primary key (id)) ENGINE=InnoDB

[ERROR,SchemaUpdate,localhost-startStop-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 '@192.168.10.150.t_users (id integer not null auto_increment, login_date datetime' at line 1

十月 21, 2016 3:26:13 下午 org.apache.catalina.startup.HostConfig deployDescriptor


正在回答

举报

0/150
提交
取消
Hibernate初探之一对多映射
  • 参与学习       42171    人
  • 解答问题       295    个

Hibernate中一对多关联映射配置,以及cascade和inverse属性作用

进入课程

hibernate4+mysql5.5建表失败!!!!各种方言全试过了没用……

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