Anonymous | Login | Signup for a new account | 12-17-2024 10:36 PST |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | ||||||||
ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
0000462 | [Resin] | minor | always | 11-23-05 00:00 | 02-02-06 12:06 | ||||
Reporter | nquery | View Status | public | ||||||
Assigned To | ferg | ||||||||
Priority | urgent | Resolution | fixed | ||||||
Status | closed | Product Version | 3.0.15 | ||||||
Summary | 0000462: EJBLocalObject.remove() inside a JTA UserTransaction doesn't work in resin3 | ||||||||
Description |
RSN-511 In Resin 3, doing a home.remove(key) or bean.remove() doesn't execute the delete sql immediately when inside a JTA UserTransaction - it seems to be 'withheld' until the transaction is commited. This worked fine in resin 2. eg. UserTransaction tx = new InitialContext().lookup("java:comp/UserTransaction"); tx.begin(); myBeanHome.remove(myBean.getPrimaryKey()); // or myBean.remove(); myBeanHome.create(sameKey, etc); <--- blows up because delete sql from above hasn't executed tx.commit(); the delete sql doesn't get executed until tx.commit(), but the insert sql from the create does get executed immediately. |
||||||||
Additional Information | all platforms, resin 3, java 1.5 | ||||||||
Attached Files | |||||||||
|
Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
32 total queries executed. 28 unique queries executed. |