aspose file tools*
The moose likes Object Relational Mapping and the fly likes could not execute query Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "could not execute query" Watch "could not execute query" New topic
Author

could not execute query

Omar Mohaidat
Ranch Hand

Joined: Jan 16, 2008
Posts: 34
Hello..

I am using hibernate to get data from oracle DB. these my configuration files:

hibernate.cfg.xml

cas.hbm.xml:

I am using this statement to get Data

but I got this exception:


any help please
Omar Mohaidat
Ranch Hand

Joined: Jan 16, 2008
Posts: 34
resolved. I used the table name instead of POJO name in DAO class... this is the problem.
 
Consider Paul's rocket mass heater.
 
subject: could not execute query