-->
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: Any kind of NonPersistent behavior?
PostPosted: Thu Mar 09, 2006 4:04 pm 
Newbie

Joined: Fri Mar 03, 2006 5:55 am
Posts: 7
I have a hierachy of classes and one base class, say Base. What i need is to have the possibility to give mappings to the field of this class to some columns (declare some associations) BUT not map this class to any table (because it's abstract and i have no reason to have a table for it, which will cause not needed fetching, single id for all subclasses and so on).

The solution i see is to simply copy-paste the mapping for the desired fields in each subclass of my class, but maybe there is more elegant faster and convinient solution (imagine there are 10 or more subclasses in the hierachy)

Any help will be appreciated.


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.