-->
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: Configuration bug with deep joined-subclass hierarchies
PostPosted: Thu Aug 02, 2007 6:20 am 
Newbie

Joined: Thu Aug 02, 2007 5:54 am
Posts: 1
I am currently working with a deep (6-level) joined-subclass hierarchy. Objects are identified with 32-character string UUIDs. However, the SchemaExport tool creates VARCHAR(255) PK columns instead of VARCHAR(32) for some of the classes - specifically, the classes that are at the bottom of the hierarchy.

Looks like the Configuration.secondPassCompileForeignKeys method doesn't properly traverse the foreign key references, and alignColumns() method is not getting called when it should be. My current workaround is to call Configuration.secondPassCompile several times more before generating the schema script.

Hibernate version:3.2.4.SP1

This bug seems to be database-independent - it was reported on MS SQL 2000/2005 and Oracle.


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.