Experts: Can I get a hold of the current transaction inside an entity bean and commit it? Is it possible for BMP or CMP or both or neither? Is it different between BMP bean vs. CMP bean?
Suppose I have two related entity beans, BA and BB, built on top of tables that have a primary/foreign key referential integrity. I create a new BB. Before this entity bean is stored to database, I need to make sure changes to the parent (BA) is stored. How do I cause ejbStore on BA from BB? Does home.create() on a CMP entity bean always insert a new row? The spec doesn't seem to require this, but all examples that I've seen do. This will perform badly for mass inserts. If it doesn't insert a new row, how do I control when it is inserted? Do I have any control over this? _________________________________________________________________ Send and receive Hotmail on your mobile device: http://mobile.msn.com =========================================================================== 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".
