This content has been marked as final.
Show 2 replies
-
1. Re: a transaction can across more than one persistence unit?
javatwo Apr 28, 2009 3:27 AM (in response to javatwo)I got exception when trying updates tables via two persistence units in one transaction:
ERROR [JDBCExceptionReporter] Lock wait timeout exceeded; try restarting transaction.
Is it allowed? Thanks! -
2. Re: a transaction can across more than one persistence unit?
javatwo Apr 28, 2009 3:29 AM (in response to javatwo)two merges are ok. but when creating one entity A, merge entity B, A references B (foreign key), Lock wait timeout error !