-->
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: annotae entity based on view?
PostPosted: Fri Oct 05, 2007 6:40 am 
Newbie

Joined: Mon Aug 27, 2007 9:10 am
Posts: 1
Is it possible to use hibernate annotations to manage an entity which is based on a view not a table? I wouldn't want anything persisted, just the data loaded.

(This is because my database is multilingual, so the data for any object (e.g. a product) is in two tables, the non language specific data (one row per product) and the language specific data (row per product per language). It would be nice to load a java object based on a view of these two tables which had all the data for a specific product, in the appropriate language where relevant).

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.