You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Willem Jiang (JIRA)" <ji...@apache.org> on 2009/10/12 11:51:52 UTC
[jira] Created: (SMX4-398) openjpa bundle should import the
transaction package without optional flag
openjpa bundle should import the transaction package without optional flag
--------------------------------------------------------------------------
Key: SMX4-398
URL: https://issues.apache.org/activemq/browse/SMX4-398
Project: ServiceMix 4
Issue Type: Bug
Components: Bundles
Reporter: Willem Jiang
Fix For: 4.1.0
When I rerun the OSGi integration test of JPA, I found current servicemix JPA bundle set the importation of the javax.transaction to be optional.
It will cause the JPA test failure, so I submit this patch to fix this issue.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Assigned: (SMX4-398) openjpa bundle should import the
transaction package without optional flag
Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/SMX4-398?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jean-Baptiste Onofré reassigned SMX4-398:
-----------------------------------------
Assignee: Jean-Baptiste Onofré
> openjpa bundle should import the transaction package without optional flag
> --------------------------------------------------------------------------
>
> Key: SMX4-398
> URL: https://issues.apache.org/activemq/browse/SMX4-398
> Project: ServiceMix 4
> Issue Type: Bug
> Components: Bundles
> Reporter: Willem Jiang
> Assignee: Jean-Baptiste Onofré
> Fix For: 4.4.0
>
> Attachments: smx4-398.patch
>
>
> When I rerun the OSGi integration test of JPA, I found current servicemix JPA bundle set the importation of the javax.transaction to be optional.
> It will cause the JPA test failure, so I submit this patch to fix this issue.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (SMX4-398) openjpa bundle should import the
transaction package without optional flag
Posted by "Guillaume Nodet (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/SMX4-398?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=54713#action_54713 ]
Guillaume Nodet commented on SMX4-398:
--------------------------------------
But JPA can be used without a transaction manager, so if openjpa bundle can be used without the javax.transaction package, we should not mandate it.
If this is the case, the fix might be elsewhere.
> openjpa bundle should import the transaction package without optional flag
> --------------------------------------------------------------------------
>
> Key: SMX4-398
> URL: https://issues.apache.org/activemq/browse/SMX4-398
> Project: ServiceMix 4
> Issue Type: Bug
> Components: Bundles
> Reporter: Willem Jiang
> Fix For: 4.1.0
>
> Attachments: smx4-398.patch
>
>
> When I rerun the OSGi integration test of JPA, I found current servicemix JPA bundle set the importation of the javax.transaction to be optional.
> It will cause the JPA test failure, so I submit this patch to fix this issue.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (SMX4-398) openjpa bundle should import the
transaction package without optional flag
Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/SMX4-398?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jean-Baptiste Onofré resolved SMX4-398.
---------------------------------------
Resolution: Won't Fix
As OpenJPA can be used without a transaction manager, the optional import statement is normal.
> openjpa bundle should import the transaction package without optional flag
> --------------------------------------------------------------------------
>
> Key: SMX4-398
> URL: https://issues.apache.org/activemq/browse/SMX4-398
> Project: ServiceMix 4
> Issue Type: Bug
> Components: Bundles
> Reporter: Willem Jiang
> Assignee: Jean-Baptiste Onofré
> Fix For: 4.4.0
>
> Attachments: smx4-398.patch
>
>
> When I rerun the OSGi integration test of JPA, I found current servicemix JPA bundle set the importation of the javax.transaction to be optional.
> It will cause the JPA test failure, so I submit this patch to fix this issue.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (SMX4-398) openjpa bundle should import the
transaction package without optional flag
Posted by "Chris Custine (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/SMX4-398?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chris Custine updated SMX4-398:
-------------------------------
Fix Version/s: 4.4.0
(was: 4.2.0)
> openjpa bundle should import the transaction package without optional flag
> --------------------------------------------------------------------------
>
> Key: SMX4-398
> URL: https://issues.apache.org/activemq/browse/SMX4-398
> Project: ServiceMix 4
> Issue Type: Bug
> Components: Bundles
> Reporter: Willem Jiang
> Fix For: 4.4.0
>
> Attachments: smx4-398.patch
>
>
> When I rerun the OSGi integration test of JPA, I found current servicemix JPA bundle set the importation of the javax.transaction to be optional.
> It will cause the JPA test failure, so I submit this patch to fix this issue.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (SMX4-398) openjpa bundle should import the
transaction package without optional flag
Posted by "Willem Jiang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/SMX4-398?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=54714#action_54714 ]
Willem Jiang commented on SMX4-398:
-----------------------------------
My test uses the spring JpaTransactionManager.
You can find the spring configuration file here[1], the test[2] is running within PAX-EXAM.
Is there any way to force the PAX-EXAM to reload the bundle with optional imports ?
[1] https://svn.apache.org/repos/asf/camel/trunk/tests/camel-itest-osgi/src/test/resources/org/apache/camel/itest/osgi/jpa/springJpaRouteTest.xml
[2] https://svn.apache.org/repos/asf/camel/trunk/tests/camel-itest-osgi/src/test/java/org/apache/camel/itest/osgi/jpa/JpaRouteTest.java
> openjpa bundle should import the transaction package without optional flag
> --------------------------------------------------------------------------
>
> Key: SMX4-398
> URL: https://issues.apache.org/activemq/browse/SMX4-398
> Project: ServiceMix 4
> Issue Type: Bug
> Components: Bundles
> Reporter: Willem Jiang
> Fix For: 4.1.0
>
> Attachments: smx4-398.patch
>
>
> When I rerun the OSGi integration test of JPA, I found current servicemix JPA bundle set the importation of the javax.transaction to be optional.
> It will cause the JPA test failure, so I submit this patch to fix this issue.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (SMX4-398) openjpa bundle should import the
transaction package without optional flag
Posted by "Willem Jiang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/SMX4-398?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Willem Jiang updated SMX4-398:
------------------------------
Attachment: smx4-398.patch
> openjpa bundle should import the transaction package without optional flag
> --------------------------------------------------------------------------
>
> Key: SMX4-398
> URL: https://issues.apache.org/activemq/browse/SMX4-398
> Project: ServiceMix 4
> Issue Type: Bug
> Components: Bundles
> Reporter: Willem Jiang
> Fix For: 4.1.0
>
> Attachments: smx4-398.patch
>
>
> When I rerun the OSGi integration test of JPA, I found current servicemix JPA bundle set the importation of the javax.transaction to be optional.
> It will cause the JPA test failure, so I submit this patch to fix this issue.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.