• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

joins in Hibernate Annotation

 
Nina Anderson
Ranch Hand
Posts: 148
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm trying to use Hibernate Annotation for Hibernate Search and I'm stuck. I'm trying to link the relationship between these 3 tables: Business, Business_Address, and Address.

Here's my table hbm.xml:






Here's my Annotation class:






Here's my FULLTEXT search:



Can someone show my how to show the join relationship using Annotation?
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic