-->
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: override transient annotation in subclass
PostPosted: Tue Jul 21, 2009 9:30 am 
Newbie

Joined: Tue Jul 21, 2009 9:15 am
Posts: 1
Hello

How can i override in a subclass a transient attribute (@Transient) of a MappedSuperclass?
I want to use the same attribute name in the entity of the parent class and subclass.
But in the subclass the attribute should not be transient because i should be written to a database table.

I tried some experiments with declaring the attribute with the annotations @AttributeOverride, @Basic and @Override, but without success.

A lot of thanks in advance


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.