Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

hibernate - composite id joining 2 others table

 
Alexandre Tastet
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I really need help about an exotic join between 3 tables.

I really don't know how to declare it with hibernate

table A
composite-id : x,y

table B
id : x

table C
property : y

in SQL : join A on B.x = A.x and B.y = C.y


But how to declare it with hibernate ?

Tanks a lot for your help




 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic