• Post Reply Bookmark Topic Watch Topic
  • New Topic

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

 
Romeo Ranjan
Ranch Hand
Posts: 95
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!