-->
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: JPA 2.0 - Optional field into @Entity
PostPosted: Mon Jun 23, 2014 9:37 am 
Newbie

Joined: Mon Jun 23, 2014 9:34 am
Posts: 1
Hello,
I have a class @Entity with multiple attributes.
This class is used for more nativequery that return different subsets of attributes defined in the class @Entity.
Using the @Transient field is completely discarded, I need to check at runtime if the field is returned by the query must be mapped
How can I solve this problem?

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.