-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: hibernate search multilevel relation
PostPosted: Thu Nov 28, 2013 4:34 am 
Newbie

Joined: Thu Nov 28, 2013 4:15 am
Posts: 1
i have following table structure

A Details table----
detailId
name
line1
line2
area
city

B scheme table----------
schemeId
detailId
groupname
timeId

C time table-------------
timeid
schemeId
starttime
closetime


above is my table structure .
i want to make relationship of three table.
first A and B with onetoOne relationship on detailid.
second B and C with oneToMany relationship on schemeId.

so how can i make relationship, please give me suggestion ....

i am using spring mvc 3 and hibernate search 4 with annotaion


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.