Hallo, this is done with the transaction service of the EJB containers Hermann Schmitt -----Urspr�ngliche Nachricht----- Von: A mailing list for Enterprise JavaBeans development [mailto:[EMAIL PROTECTED]]Im Auftrag von Leigh, Louis Gesendet: Mittwoch, 13. Oktober 1999 19:21 An: [EMAIL PROTECTED] Betreff: Help on updating two entity beans persistent different tables wit h one commit 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". =========================================================================== 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".
