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
handler looks like

OtherPage onSuccessFromCreditCardForm ()
{
 _creditCardInfo.setOwner (_state.getLoggedInPerson());
 _creditCardDAO.saveOrUpdate (_creditCardInfo);
 return _otherPage; // injected
}

The saveOrUpdate call gets me the illegal attempt to assoc. a
collection with 2 open sessions.  I've tried multiple combinations of
activation contexts, persistent _creditCardId properties, etc.

Anybody else having luck with this kind of task under tap-hibernate?

Bill

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to