Hello,

I am having trouble with an EJB problem.  I want to use container managed
persistence and have two Entity beans, like a person bean and his address
bean both save to their persistent storage as a unit so the data integrity
between the two is preserved.  Example.  I can't have the address inserting
if the insert of the person failed.  I'm assuming there is a way, maybe like
having a session bean with remote instances of both.  If the session bean
closes do the two entity beans get saved as a unit and is there a backout
automatically handled by an application server that will keep the two
relational tables in sync.  Do I need to manage this with the jta or can
Container managed persistence do it for me.

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to