• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • paul wheaton
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
  • Himai Minh
Bartenders:

Why is my Hibernate Search query not working?

 
Ranch Hand
Posts: 148
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
My working search does not working on associated objects. I'm trying to find a business in a given city (ex. "Pizza Hut" in "Florida). I have 3 tables BUSINESS, ADDRESS and BUSINESS_ADDRESS, where Business_Address is the intermediate table. The primary key in the BUSINESS_ADDRESS table is "Business_Address_Id" and "business_Id" and "address_Id" are foreign keys.

Can you tell me what I'm doing wrong in my 3 class configuration:

BUSINESS table


ADDRESS table:


BUSINESS_ADDRESS table:


FULLTEXT QUERY:
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic