-->
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: Many Views maps to one Object/Class
PostPosted: Tue Aug 14, 2007 5:59 pm 
Newbie

Joined: Tue Aug 14, 2007 5:51 pm
Posts: 1
Hibernate version: 3.2

Mapping documents:

Name and version of the database you are using: SQLServer

Hello,

I have a problem concerning the mapping of a view to a Java-Object. I have three views which should be mapped to an Java-Class. The object itself should be written into a normal table of course.

So what I want is that I can get a List of Java-Objects by telling Hibernate something like: "create list of objects by using View A" and in another query "create list of objects by using View B", "changes should be written into table C"

Is this possible?


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.