Message:
A new issue has been created in JIRA.
---------------------------------------------------------------------
View the issue:
http://objectstyle.org/jira/secure/ViewIssue.jspa?key=CAY-404
Here is an overview of the issue:
---------------------------------------------------------------------
Key: CAY-404
Summary: External Transactions conflict with DataNode implicit transactions
Type: Bug
Status: Assigned
Priority: Major
Project: Cayenne
Components:
Cayenne Core Library
Fix Fors:
1.2 [DEV]
Versions:
1.2 [DEV]
Assignee: Andrus Adamchik
Reporter: Andrus Adamchik
Created: Mon, 5 Dec 2005 7:19 AM
Updated: Mon, 5 Dec 2005 7:19 AM
Description:
I have no test code to prove this yet, but it seems like current policy of wrapping PK generation and some other operations (e.g. snapshot resolution) in internal transactions without regards to the preconfigured transaction policy should create a problem within J2EE containers.
See a TODO under DataNode.performQueries(..) - if we change the code to throw an exception when thread transaction is null, and run the test suite, all such cases become immediately visible.
Need to test this within an EJB or something.
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://objectstyle.org/jira/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
This archive was generated by hypermail 2.0.0 : Mon Dec 05 2005 - 07:21:15 EST