wood burning stoves 2.0*
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 Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "Problem Mapping view in hibernate " Watch "Problem Mapping view in hibernate " New topic

Problem Mapping view in hibernate

ray khan

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

Joined: Apr 30, 2013
Posts: 2
Up for a reply please.
Don't get me started about those stupid light bulbs.
subject: Problem Mapping view in hibernate
Similar Threads
class not found exception
Spring And Hibernate (LocalSessionFactoryBean)
unsatisfied Dependancy exception
Migrating from Spring 2.0 and Hibernate 3.0 to Spring 3.1 and Hibernate 4.1
spring 2 with hibernate 3