Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Uni-directional Many-to-many problem

 
Mohamed Atiea
Greenhorn
Posts: 1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello all,

I have a uni-direction many-to-many relation with Job and Category, Job has many categories when I try to get the job by its declared categories field (ste<Category>) hibernate generates SQL but with a dot inside it below is how I am using HQL and the exception:

Please note the dot in the generated SQL

HQL:




GENERATED SQL & ERROR:



Correct SQL that I was expecting:



My HBM files are:





Thanks
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic