[jira] [Updated] (ARIES-1273) Persistence unit with hibernate does not start if datasource is not present

2014-11-07 Thread Christian Schneider (JIRA)
[ https://issues.apache.org/jira/browse/ARIES-1273?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Christian Schneider updated ARIES-1273: --- Summary: Persistence unit with hibernate does not start if datasource is not present

[jira] [Created] (ARIES-1273) Persistence unit does with hibernate not start if datasource is not present

2014-11-07 Thread Christian Schneider (JIRA)
Christian Schneider created ARIES-1273: -- Summary: Persistence unit does with hibernate not start if datasource is not present Key: ARIES-1273 URL: https://issues.apache.org/jira/browse/ARIES-1273

Build failed in Jenkins: AriesWithSnapshotDependencies #607

2014-11-07 Thread Apache Jenkins Server
See Changes: [cschneider] ARIES-1272 scan for entities -- [...truncated 12625 lines...] [INFO] [INFO] Aries :: Parent POM ... SUCCESS [1.701s] [INFO] Ari

Jenkins build is still unstable: Aries » Aries EJB Modelling iTests #2092

2014-11-07 Thread Apache Jenkins Server
See

Jenkins build is still unstable: Aries » Aries JPA iTests #2092

2014-11-07 Thread Apache Jenkins Server
See

Jenkins build is back to stable : Aries » Apache Aries Blueprint iTests #2092

2014-11-07 Thread Apache Jenkins Server
See

Jenkins build is still unstable: Aries #2092

2014-11-07 Thread Apache Jenkins Server
See

[jira] [Resolved] (ARIES-1272) Add jpa test with hibernate

2014-11-07 Thread Christian Schneider (JIRA)
[ https://issues.apache.org/jira/browse/ARIES-1272?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Christian Schneider resolved ARIES-1272. Resolution: Fixed > Add jpa test with hibernate > --- > >

Re: Build failed in Jenkins: AriesWithSnapshotDependencies #606

2014-11-07 Thread Christian Schneider
This build seems to fail at this point since a long time. Does anyone know how to fix this? Christian On 07.11.2014 16:37, Apache Jenkins Server wrote: See Changes: [cschneider] ARIES-1272 Add jpa test with hibernate

Build failed in Jenkins: AriesWithSnapshotDependencies #606

2014-11-07 Thread Apache Jenkins Server
See Changes: [cschneider] ARIES-1272 Add jpa test with hibernate [cschneider] Update to new snapshots versions after release -- [...truncated 9343 lines...] [INFO] [INFO] Aries ::

[jira] [Created] (ARIES-1272) Add jpa test with hibernate

2014-11-07 Thread Christian Schneider (JIRA)
Christian Schneider created ARIES-1272: -- Summary: Add jpa test with hibernate Key: ARIES-1272 URL: https://issues.apache.org/jira/browse/ARIES-1272 Project: Aries Issue Type: Test

[jira] [Commented] (ARIES-1251) Support jpa 2.0 and 2.1 with the same code base

2014-11-07 Thread Giuseppe Gerla (JIRA)
[ https://issues.apache.org/jira/browse/ARIES-1251?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14201967#comment-14201967 ] Giuseppe Gerla commented on ARIES-1251: --- There also a test in aries JPAContextTest t

Re: jpa: Alternative solution for wrapped EntityManager

2014-11-07 Thread Giuseppe Gerla
ok. Thanks For me could be a good idea. 2014-11-07 11:54 GMT+01:00 Christian Schneider : > We need to keep the EntityManager open for the duration of the session the > developer expects. So for example when you have cascaded transactional > calls then only when such a cascade is left we can sav

Re: jpa: Alternative solution for wrapped EntityManager

2014-11-07 Thread Christian Schneider
We need to keep the EntityManager open for the duration of the session the developer expects. So for example when you have cascaded transactional calls then only when such a cascade is left we can savely close and delete the EntityManager. So for transaction scope Required we could detect if an

[jira] [Created] (ARIES-1271) EntityManager throws InvocationtargetException instead of original cause

2014-11-07 Thread Christian Schneider (JIRA)
Christian Schneider created ARIES-1271: -- Summary: EntityManager throws InvocationtargetException instead of original cause Key: ARIES-1271 URL: https://issues.apache.org/jira/browse/ARIES-1271 Pr

[jira] [Commented] (ARIES-1251) Support jpa 2.0 and 2.1 with the same code base

2014-11-07 Thread Christian Schneider (JIRA)
[ https://issues.apache.org/jira/browse/ARIES-1251?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14201911#comment-14201911 ] Christian Schneider commented on ARIES-1251: Sounds good to me but we need to

[jira] [Commented] (ARIES-1251) Support jpa 2.0 and 2.1 with the same code base

2014-11-07 Thread Tuomas Kiviaho (JIRA)
[ https://issues.apache.org/jira/browse/ARIES-1251?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14201908#comment-14201908 ] Tuomas Kiviaho commented on ARIES-1251: --- Both EMHandler/QuiesceEMFHandler at least d

Re: jpa: Alternative solution for wrapped EntityManager

2014-11-07 Thread Giuseppe Gerla
But this is not true with your code. If you after the call close the EntityManager and call remove on ThreadLocal, you have several EntityManager for the same Thread 2014-11-07 10:50 GMT+01:00 Christian Schneider : > Hi Giuseppe, > > I think the ThreadLocal is necessary. We want to make sure

Re: jpa: Alternative solution for wrapped EntityManager

2014-11-07 Thread Christian Schneider
Hi Giuseppe, I think the ThreadLocal is necessary. We want to make sure that calls on the same thread always go to the same EntityManager. Christian On 07.11.2014 10:29, Giuseppe Gerla wrote: Thanks Christian I think I understand. So before each transactional method (not only persist) you cr

Re: jpa: Alternative solution for wrapped EntityManager

2014-11-07 Thread Giuseppe Gerla
Thanks Christian I think I understand. So before each transactional method (not only persist) you create an EntityManager and then you close it. I'm not sure that you can simplify the JTAEntityManagerHandler class. I think that the only change that we can do is to simplify the pool management remov