当前位置: 代码迷 >> J2EE >> SSH框架整合启动提示如上异常
  详细解决方案

SSH框架整合启动提示如上异常

热度:33   发布时间:2016-04-22 00:53:14.0
SSH框架整合启动提示如下错误
严重: Unsuccessful: create table ac_user (id integer not null auto_increment, name varchar(30), password varchar(16), Email varchar(255), primary key (id)) type=InnoDB
八月 08, 2012 11:54:47 上午 org.hibernate.tool.hbm2ddl.SchemaUpdate execute
严重: 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 'type=InnoDB' at line 1
八月 08, 2012 11:54:47 上午 org.hibernate.tool.hbm2ddl.SchemaUpdate execute
信息: schema update complete


无法自动建表啊。

------解决方案--------------------
<prop key="hibernate.dialect">org.hibernate.dialect.MySQL5InnoDBDialect</prop> 
方言改成 试试
  相关解决方案