-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: schemaexport generated sql
PostPosted: Wed Sep 29, 2004 5:28 pm 
Newbie

Joined: Tue Sep 28, 2004 3:02 pm
Posts: 2
Hi

I'm get the following error from schemaexport (2.1.6) when running it against mysql 4.0.21. When I copy and paste the statement into a mysql console, it parses ok thou.

Cas
--

create table job (job_id bigint not null auto_increment, title varchar(255), des
cription varchar(255), location varchar(255), country varchar(255), starting var
char(255), duration varchar(255), rate varchar(255), reference varchar(255), pos
ted datetime, user_id bigint, category_id bigint, primary key (job_id))
Sep 29, 2004 10:19:32 PM net.sf.hibernate.tool.hbm2ddl.SchemaExport execute
SEVERE: Unsuccessful: create table job (job_id bigint not null auto_increment, t
itle varchar(255), description varchar(255), location varchar(255), country varc
har(255), starting varchar(255), duration varchar(255), rate varchar(255), refer
ence varchar(255), posted datetime, user_id bigint, category_id bigint, primary
key (job_id))
Sep 29, 2004 10:19:32 PM net.sf.hibernate.tool.hbm2ddl.SchemaExport execute
SEVERE: Syntax error or access violation, message from server: "You have an err
or in your SQL syntax. Check the manual that corresponds to your MySQL server v
ersion for the right syntax to use near 'starting varchar(255), duration varchar
(255), rate varchar(255)"

Hibernate version: 2.1.6


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.