|
Mantis - Resin
|
|||||
| Viewing Issue Advanced Details | |||||
|
|
|||||
| ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
| 462 | minor | always | 11-23-05 00:00 | 02-02-06 12:06 | |
|
|
|||||
| Reporter: | nquery | Platform: | |||
| Assigned To: | ferg | OS: | |||
| Priority: | urgent | OS Version: | |||
| Status: | closed | Product Version: | 3.0.15 | ||
| Product Build: | 3.0.15 | Resolution: | fixed | ||
| Projection: | none | ||||
| ETA: | none | Fixed in Version: | 3.0.18 | ||
|
|
|||||
| 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 | ||||
| Relationships | |||||
| Attached Files: | |||||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||