-->
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: INheritance - Joined-Subclass problem
PostPosted: Sat Mar 29, 2008 8:29 pm 
Newbie

Joined: Thu Mar 20, 2008 7:51 pm
Posts: 1
Dear users,

I have a slight variation of the inheritance model i want to use. Below is the description of my tables;

AbstractClassTable
ID (bigint identity)
Price
DateCreated
DeteModified
DateDeleted

ConcreteClassTable
ID (bigint identity)
AbstractClassTableID (foreign Key)
Length
Feature
Width

-----------------------

Now I wish to use the joined-subclass model to implement the above. But in the examples that I have seen, the second table (ConcreteClassTable) does not have an ID column, it rather uses the AbstractClassTableID only.

THere is a special business requierment that i need to design my solution like this. Can you please help me out here and let meknow if it is possible using teh joined-subclass model? If yes, what special stuff should i include in my mappingfile?

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.