• Post Reply Bookmark Topic Watch Topic
  • New Topic

HQL many to many query  RSS feed

 
Hussein Baghdadi
clojure forum advocate
Bartender
Posts: 3479
Clojure Mac Objective C
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi.
The relationship between Book and Author is many to many.
Can I use HQL to query for the book which one of its authors is author1?
A snippet is great if possible.
Thanks.
 
yo loo
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
now there are less people use many to many ,is hard to use,u could translate it to two many-to-one.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!