-->
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: Order property causes table not to get created, but no error
PostPosted: Fri Aug 20, 2010 9:48 am 
Newbie

Joined: Fri Aug 20, 2010 9:38 am
Posts: 1
I hope I'm posting to the right section. I did a quick search and didn't found mentions of the problem I'm reporting. If this is a known issues and/or has been resolved in a more recent version, please ignore this.

I just found out that if an object has a property "order", the table does not get created when Hibernate generates the database schema (which, in a sense, is ok since "order" is a reserved keyword in SQL), without any error message or exception. I would have expected an exception to be thrown. I renamed the property to a different name and it started working. I guess I could also have explicitly mapped the order property to a column with a different name. I have not tried it.

I'm running with Hibernate 3.

Alex


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.