permaculture playing cards*
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

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "could not execute query" Watch "could not execute query" New topic

could not execute query

Omar Mohaidat
Ranch Hand

Joined: Jan 16, 2008
Posts: 34

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



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.
I agree. Here's the link:
subject: could not execute query
Similar Threads
spring + hibernate
One To Many Unidirectional(Hibernate)
Hibernate native sql problem
java.sql.SQLException: No suitable driver
hibernate exception SQLGrammarException could not fetch initial value for increment