-->
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: column name issue
PostPosted: Fri Aug 24, 2007 2:26 pm 
Newbie

Joined: Mon Aug 20, 2007 5:18 am
Posts: 8
I have a group table in MySQL.
Apparently it is keyword in the MySQL
so I cannot insert anything with hibernate.
when I tried it it gives SQL syntax error then I added catalog=""
but at this time I had a problem with column name, limit. Then I changed the name and it is fixed. Is there any way to do it without changing the column name? Because no catalog="" available for column in the "*.hbm.xml"

java.sql.BatchUpdateException: Syntax error or access violation, message from server: "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 'limit, description, createdate' at line 1"

thanks


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.