-->
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: erreur de syntaxe dans le sql
PostPosted: Sun Aug 14, 2005 3:56 pm 
Newbie

Joined: Sun Aug 14, 2005 3:51 pm
Posts: 1
Hello,
Je suis un petit nouveau sur Hibernate et après bien des déboires, j'arrive enfin quelques choses !

Néanmoins il y a une erreur de syntaxe dans le SQL:

21:25:51,359 DEBUG SchemaExport:143 - drop table EVENTS if exists
21:25:51,515 DEBUG SchemaExport:149 - Unsuccessful: drop table EVENTS if exists
21:25:51,515 DEBUG SchemaExport:150 - 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 'if exists' at line 1
21:25:51,515 DEBUG SchemaExport:161 - create table EVENTS (
EVENT_ID bigint not null,
EVENT_DATE timestamp,
title varchar(255),
primary key (EVENT_ID)
)

Comment puis-je la résoudre ?

Merci de votre aide


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.