Re: [appfuse-user] hibernate: Lazy Loading 101

2007-08-24 Thread Michael Horwitz
You will need to explicitly tell it to cascade on a merge by setting the cascade attribute on your join. Mike. On 8/24/07, p7k <[EMAIL PROTECTED]> wrote: > > > no success in using merge(), no exceptions of any sort but nothing gets > updated or removed. > > still looking for help. > > thank you!

Re: [appfuse-user] hibernate: Lazy Loading 101

2007-08-23 Thread p7k
no success in using merge(), no exceptions of any sort but nothing gets updated or removed. still looking for help. thank you! p7k wrote: > > Mike, > > Thank you for your reply. Any help is much appreciated. But I'm having > hard time translating your reply to my problem. Let me a littl

Re: [appfuse-user] hibernate: Lazy Loading 101

2007-08-23 Thread p7k
Mike, Thank you for your reply. Any help is much appreciated. But I'm having hard time translating your reply to my problem. Let me a little more specific: 1. my Customer details form (view) allows for editing properties other than the DistDay. 2. "e.g. adding a new day of the week to the

Re: [appfuse-user] hibernate: Lazy Loading 101

2007-08-23 Thread Michael Horwitz
On 8/23/07, p7k <[EMAIL PROTECTED]> wrote: > > > Please, help me learn !!! > > I have the following situation: > > a Customer class with a collection of enums which represent weekdays { > Sun, > Mon , Tue , ... } > ( in JSF, I bind these to a UISelectMany component - checkboxes ) > > @Entity > publ

[appfuse-user] hibernate: Lazy Loading 101

2007-08-23 Thread p7k
Please, help me learn !!! I have the following situation: a Customer class with a collection of enums which represent weekdays { Sun, Mon , Tue , ... } ( in JSF, I bind these to a UISelectMany component - checkboxes ) @Entity public class Customer extends BaseLocation implements Serializa