-->
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.  [ 4 posts ] 
Author Message
 Post subject: Schema updates with quoted table names
PostPosted: Mon Jun 12, 2006 5:49 pm 
Newbie

Joined: Tue Nov 15, 2005 8:27 pm
Posts: 19
Location: Columbia, MO USA
I'm using Hibernate 3.1.3 and HSQLDB 1.8.0.4. I use backticks in my mapping files to quote my mixed-case table names. Everything works fine until I set hbm2ddl.auto to update.

When Hibernate starts up, it looks for the tables but fails to find them. It looks like the reason is that the table names are missing the quotes. It then tries to issue create table statements that have the quotes. Those statements fail because the tables already exist.

Could this be an instance of issue HHH-1205?

http://opensource.atlassian.com/project ... e/HHH-1205

Suggestions?


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jun 12, 2006 6:38 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
yes schemaupdate don't handle quoted table/column names afaik.

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jun 13, 2006 6:01 pm 
Newbie

Joined: Tue Nov 15, 2005 8:27 pm
Posts: 19
Location: Columbia, MO USA
max wrote:
yes schemaupdate don't handle quoted table/column names afaik.


Do we know when this will fixed?


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jun 14, 2006 4:06 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
when someone contribute a fix + testcase to verify that it works.

_________________
Max
Don't forget to rate


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

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.