File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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
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.
 
jQuery in Action, 2nd edition
 
subject: Problem Mapping view in hibernate