ored in such case will this work. Could you please help me. Is there
>> > any way to solve this issue.
>> >
>> >
>> > Thanks.
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> > melinate wrote:
>&g
> >
> >
> >
> >
> >
> >
> >
> > melinate wrote:
> >>
> >> I think you might need to provide some more information for someone to
> >> help with this. Could you share your POJO's so we can see how you built
> >>
tionships are
>> set up correctly it should just be a matter of fetching the Manager by id
>> and the List of Employees will come with it [however you may have to read
>> the list to avoid lazy loading issues].
>>
>> HTH,
>> Nathan
>>
>>
gt;
> - Original Message -
> From: "Lucky123" <[EMAIL PROTECTED]>
> To: users@appfuse.dev.java.net
> Sent: Thursday, October 4, 2007 2:13:00 PM (GMT-0800) America/Los_Angeles
> Subject: Re: [appfuse-user] Hibernate Example.create
>
>
> I have two entitie
use.dev.java.net
Sent: Thursday, October 4, 2007 2:13:00 PM (GMT-0800) America/Los_Angeles
Subject: Re: [appfuse-user] Hibernate Example.create
I have two entities stored in seperate database tables
- Employee
- Manager
Every Employee has a Manager(or vice versa: Every Manager has several
Employees)
I have two entities stored in seperate database tables
- Employee
- Manager
Every Employee has a Manager(or vice versa: Every Manager has several
Employees)
Get Manager with his employees.
I tried Hibernate Query by example, but it is not returning anything..
Criteria criteria = session.creat