Anonymous | Login | Signup for a new account | 12-17-2024 10:49 PST |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Advanced Details [ Jump to Notes ] | [ View Simple ] [ 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 | Platform | |||||
Status | closed | OS | |||||||
Projection | none | OS Version | |||||||
ETA | none | Fixed in Version | 3.0.18 | Product Version | 3.0.15 | ||||
Product Build | 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. |
||||||||
Steps To Reproduce | |||||||||
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. |