• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem Mapping view in hibernate

 
ray khan
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Up for a reply please.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic