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: Sequence generator per subclass
PostPosted: Tue Sep 04, 2007 10:43 am 
Newbie

Joined: Wed Nov 22, 2006 6:36 pm
Posts: 3
All,

I'm working on a legacy database that is using the table per concrete class with implicit polymorphism for mapping class inheritance. I'm in the process of moving to table per concrete class with unions, but there is one problem. Each table uses it's own sequence generator.

Prior to trying to move to table per concrete class with unions, I mapped the sequence generator for each class and everything works fine.

Is it possible to move to table per concrete class with unions and maintain a separate sequence generator for each class? I have searched and tried different approaches but each time Hibernate wants to use the sequence generator for the base class.

I'm using Oracle 10g for my database and Hibernate version 3.2 and mapping my classes with annotations version Hiberante-Annotations 3.2 GA.

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.