aspose file tools*
The moose likes Object Relational Mapping and the fly likes Hibernate Criterion query: org.hibernate.exception.SQLGrammarException: 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 "Hibernate Criterion query: org.hibernate.exception.SQLGrammarException: could not execute query" Watch "Hibernate Criterion query: org.hibernate.exception.SQLGrammarException: could not execute query" New topic
Author

Hibernate Criterion query: org.hibernate.exception.SQLGrammarException: could not execute query

Romeo Ranjan
Ranch Hand

Joined: Feb 23, 2009
Posts: 95
Hi All,

I have been trying to implement a sql query in hibernate using the criteria API desperately. I have been getting this exception all along can someone please point what I am missing?

Here is the criteria query


Below is the exception that I get


The sql query that I am trying to implement


SCJP 6.0
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Hibernate Criterion query: org.hibernate.exception.SQLGrammarException: could not execute query