• Post Reply Bookmark Topic Watch Topic
  • New Topic

joins in Hibernate Annotation  RSS feed

 
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?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!