aspose file tools*
The moose likes Object Relational Mapping and the fly likes Problem Mapping view in hibernate Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "Problem Mapping view in hibernate " Watch "Problem Mapping view in hibernate " New topic
Author

Problem Mapping view in hibernate

ray khan
Greenhorn

Joined: Apr 30, 2013
Posts: 2
Hi all,

i have a problem with mappin' a view in hibernate. To sum things up, when i configure all the files (the hbm.xml file, and application-context.xml file) to tell to hibernate go fetch the view for me, the mighty (sic!) hibernate tells me that he cannot find the table and then try to create it but oracle tells him "dude, i already got this object ! So, no!". I cannot see where it's stuck knowin' that i've mapped a view in hibernate before (in another project, and it worked!) and in this project it doesn't.

Application-context.xml file :



The hbm file :



The error :



You're all be thanked.
ray khan
Greenhorn

Joined: Apr 30, 2013
Posts: 2
Up for a reply please.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Problem Mapping view in hibernate