You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openjpa.apache.org by "Pinaki Poddar (JIRA)" <ji...@apache.org> on 2009/10/11 03:16:31 UTC

[jira] Created: (OPENJPA-1342) Build a mechanics to test JTA transaction semantics within JSE

Build a mechanics to test JTA transaction semantics within JSE 
---------------------------------------------------------------

                 Key: OPENJPA-1342
                 URL: https://issues.apache.org/jira/browse/OPENJPA-1342
             Project: OpenJPA
          Issue Type: Test
            Reporter: Pinaki Poddar


The transaction semantics and flow within container environment or with JTA resource type differs from locally managed transaction.
OpenJPA test harnesses do not have a facility to test functionality within a managed transaction without a full-blown ejb/application container.
This issue will develop a simple/basic JTA transaction manager to plug-in to openjpa.ManagedRuntime to exercise codepath for
managed transaction without needing a full-blown ejb/application container.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (OPENJPA-1342) Build a mechanics to test JTA transaction semantics within JSE

Posted by "Donald Woods (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OPENJPA-1342?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12764529#action_12764529 ] 

Donald Woods commented on OPENJPA-1342:
---------------------------------------

There is a lot of code in Apache Geronimo and TranQL that you should be able to reuse for this.
Geronimo Transaction Manager -
https://svn.apache.org/repos/asf/geronimo/components/txmanager/branches/geronimo
-txmanager-parent-2.1
TranQL DB connectors - http://xircles.codehaus.org/projects/tranql -
http://svn.codehaus.org/tranql/


> Build a mechanics to test JTA transaction semantics within JSE 
> ---------------------------------------------------------------
>
>                 Key: OPENJPA-1342
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-1342
>             Project: OpenJPA
>          Issue Type: Test
>            Reporter: Pinaki Poddar
>
> The transaction semantics and flow within container environment or with JTA resource type differs from locally managed transaction.
> OpenJPA test harnesses do not have a facility to test functionality within a managed transaction without a full-blown ejb/application container.
> This issue will develop a simple/basic JTA transaction manager to plug-in to openjpa.ManagedRuntime to exercise codepath for
> managed transaction without needing a full-blown ejb/application container.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (OPENJPA-1342) Build a mechanics to test JTA transaction semantics within JSE

Posted by "Pinaki Poddar (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OPENJPA-1342?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12764720#action_12764720 ] 

Pinaki Poddar commented on OPENJPA-1342:
----------------------------------------

The idea is to avoid bringing in a heavyweight container within OpenJPA test environment. 
The contract between OpenJPA and a container is thin enough to provide a bare bone lightweight container implementation (which also, btw, many do). 


But please give this one a try and see how it goes. It surely helps me to debug easily. 


> Build a mechanics to test JTA transaction semantics within JSE 
> ---------------------------------------------------------------
>
>                 Key: OPENJPA-1342
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-1342
>             Project: OpenJPA
>          Issue Type: Test
>            Reporter: Pinaki Poddar
>            Assignee: Pinaki Poddar
>
> The transaction semantics and flow within container environment or with JTA resource type differs from locally managed transaction.
> OpenJPA test harnesses do not have a facility to test functionality within a managed transaction without a full-blown ejb/application container.
> This issue will develop a simple/basic JTA transaction manager to plug-in to openjpa.ManagedRuntime to exercise codepath for
> managed transaction without needing a full-blown ejb/application container.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (OPENJPA-1342) Build a mechanics to test JTA transaction semantics within JSE

Posted by "Pinaki Poddar (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OPENJPA-1342?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pinaki Poddar reassigned OPENJPA-1342:
--------------------------------------

    Assignee: Pinaki Poddar

> Build a mechanics to test JTA transaction semantics within JSE 
> ---------------------------------------------------------------
>
>                 Key: OPENJPA-1342
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-1342
>             Project: OpenJPA
>          Issue Type: Test
>            Reporter: Pinaki Poddar
>            Assignee: Pinaki Poddar
>
> The transaction semantics and flow within container environment or with JTA resource type differs from locally managed transaction.
> OpenJPA test harnesses do not have a facility to test functionality within a managed transaction without a full-blown ejb/application container.
> This issue will develop a simple/basic JTA transaction manager to plug-in to openjpa.ManagedRuntime to exercise codepath for
> managed transaction without needing a full-blown ejb/application container.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (OPENJPA-1342) Build a mechanics to test JTA transaction semantics within JSE

Posted by "Pinaki Poddar (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OPENJPA-1342?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pinaki Poddar resolved OPENJPA-1342.
------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.0.0-M4

> Build a mechanics to test JTA transaction semantics within JSE 
> ---------------------------------------------------------------
>
>                 Key: OPENJPA-1342
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-1342
>             Project: OpenJPA
>          Issue Type: Test
>            Reporter: Pinaki Poddar
>            Assignee: Pinaki Poddar
>             Fix For: 2.0.0-M4
>
>
> The transaction semantics and flow within container environment or with JTA resource type differs from locally managed transaction.
> OpenJPA test harnesses do not have a facility to test functionality within a managed transaction without a full-blown ejb/application container.
> This issue will develop a simple/basic JTA transaction manager to plug-in to openjpa.ManagedRuntime to exercise codepath for
> managed transaction without needing a full-blown ejb/application container.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (OPENJPA-1342) Build a mechanics to test JTA transaction semantics within JSE

Posted by "Donald Woods (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OPENJPA-1342?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12764723#action_12764723 ] 

Donald Woods commented on OPENJPA-1342:
---------------------------------------

Yep, wasn't suggesting that we use the whole Geronimo app server, but just the txmanager component (standalone JAR which Apache Aries is using for JTA support) and possibly the TranQL connectors, if we need to connect to databases other than Derby....


> Build a mechanics to test JTA transaction semantics within JSE 
> ---------------------------------------------------------------
>
>                 Key: OPENJPA-1342
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-1342
>             Project: OpenJPA
>          Issue Type: Test
>            Reporter: Pinaki Poddar
>            Assignee: Pinaki Poddar
>
> The transaction semantics and flow within container environment or with JTA resource type differs from locally managed transaction.
> OpenJPA test harnesses do not have a facility to test functionality within a managed transaction without a full-blown ejb/application container.
> This issue will develop a simple/basic JTA transaction manager to plug-in to openjpa.ManagedRuntime to exercise codepath for
> managed transaction without needing a full-blown ejb/application container.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.