-->
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: Saving a subclass that only adds extra functionality to bean
PostPosted: Mon Mar 08, 2004 9:18 pm 
Beginner
Beginner

Joined: Sat Aug 30, 2003 1:36 am
Posts: 47
Location: Calgary, AB
I created a subclass of a Bean to add extra functionality to it without affecting the original bean, but it would seem from the errors that you would need to put the subclass param in the docs and make another mapping doc for the subclass? Is this correct? and if so, would you just put no properties in the subclass, just a blank hbml other than the class ? And how would you handle the discriminator value?

I've tried casting down to the super class, but this throws the same error too. (ie: No mapping of subclass )


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.