• Post Reply Bookmark Topic Watch Topic
  • New Topic

hibernate - composite id joining 2 others table  RSS feed

 
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




 
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!