File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

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
One To Many Unidirectional(Hibernate)
spring + hibernate
java.sql.SQLException: No suitable driver
Hibernate native sql problem
hibernate exception SQLGrammarException could not fetch initial value for increment