samedi 16 juillet 2016

Hibernate MySQL 522 Error

am trying to create MySQL tables with Hibernate, and this is the error am getting,

ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 12) HHH000388: Unsuccessful: create table parcel_parcels (id bigint not null, description TEXT, from varchar(255), to varchar(255), cost double precision, route varchar(255), primary key (id)) ENGINE=InnoDB 22:56:41,692 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 12) 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 'from varchar(255), to varchar(255), cost double precision, route varchar(255), p' at line 1

Aucun commentaire:

Enregistrer un commentaire