Re: T5 Creating new hibernate persistent entity via beaneditform

2007-06-23 Thread Howard Lewis Ship
I'm thrilled you figured this out, I haven't had any spare cycles to go deeper on the hibernate integration end of things. On 6/22/07, Bill Holloway <[EMAIL PROTECTED]> wrote: Problem seems to be solved by the following calls in onSuccess... _creditCardDAO.saveOrUpdate(_creditCardBean); _credit

Re: T5 Creating new hibernate persistent entity via beaneditform

2007-06-22 Thread Bill Holloway
Problem seems to be solved by the following calls in onSuccess... _creditCardDAO.saveOrUpdate(_creditCardBean); _creditCardBean.setOwner(_state.getLoggedInPerson()); _creditCardDAO.merge(_creditCardBean); The call to merge being the magic incantation. bill On 6/22/07, Bill Holloway <[EMAIL PRO

T5 Creating new hibernate persistent entity via beaneditform

2007-06-22 Thread Bill Holloway
Here's another tap-hibernate issue. I have a page to create a new CreditCardInfo to then store into hibernate. The CreditCardInfo is many-to-one with Person. I have a page w/ a non-persistent property _creditCardInfo. The beaneditform creates/shows its blank creditCardInfo just fine. Form han