[jira] Commented: (OPENJPA-1873) EntityManager#merge sometimes passes wrong entity values to @PostLoad EntityListeners

2011-01-07 Thread Mark Struberg (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-1873?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12978771#action_12978771 ] Mark Struberg commented on OPENJPA-1873: Hi! This is just a small summary about

[jira] Created: (OPENJPA-1919) Entity contains pseudo-attached ElementCollection map after detach

2011-01-07 Thread Vermeulen (JIRA)
Entity contains pseudo-attached ElementCollection map after detach -- Key: OPENJPA-1919 URL: https://issues.apache.org/jira/browse/OPENJPA-1919 Project: OpenJPA Issue Type: Bug

[jira] Commented: (OPENJPA-1919) Entity contains pseudo-attached ElementCollection map after detach

2011-01-07 Thread Vermeulen (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-1919?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12978795#action_12978795 ] Vermeulen commented on OPENJPA-1919: I accidentally had two different values for the

[jira] Commented: (OPENJPA-1914) Issue with OpenJPA 1.2.1 while using subquery.

2011-01-07 Thread Michael Dick (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-1914?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12978809#action_12978809 ] Michael Dick commented on OPENJPA-1914: --- I'm not sure what you're looking for here.

[jira] Updated: (OPENJPA-1919) Entity contains pseudo-attached ElementCollection map after detach (with DetachedStateField=false)

2011-01-07 Thread Vermeulen (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-1919?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vermeulen updated OPENJPA-1919: --- Summary: Entity contains pseudo-attached ElementCollection map after detach (with

[jira] Assigned: (OPENJPA-1909) enhance unit tests with the correct persistence.xml

2011-01-07 Thread Michael Dick (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-1909?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Dick reassigned OPENJPA-1909: - Assignee: Michael Dick Is the update to the maven plugin version needed here? I'm not

[jira] Resolved: (OPENJPA-1909) enhance unit tests with the correct persistence.xml

2011-01-07 Thread Michael Dick (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-1909?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Dick resolved OPENJPA-1909. --- Resolution: Fixed enhance unit tests with the correct persistence.xml

[jira] Updated: (OPENJPA-1909) enhance unit tests with the correct persistence.xml

2011-01-07 Thread Michael Dick (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-1909?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Dick updated OPENJPA-1909: -- Fix Version/s: (was: 2.1.0) Remaining Estimate: 0h Original Estimate: 0h

[jira] Commented: (OPENJPA-1914) Issue with OpenJPA 1.2.1 while using subquery.

2011-01-07 Thread JaiKumar (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-1914?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12978818#action_12978818 ] JaiKumar commented on OPENJPA-1914: --- Hi, Using native below query works. UPDATE

[jira] Commented: (OPENJPA-1909) enhance unit tests with the correct persistence.xml

2011-01-07 Thread Mark Struberg (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-1909?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12978824#action_12978824 ] Mark Struberg commented on OPENJPA-1909: it's not needed, should get moved to an

[jira] Created: (OPENJPA-1920) N+1 select with entities that contain Maps (even with FetchType.EAGER)

2011-01-07 Thread Vermeulen (JIRA)
N+1 select with entities that contain Maps (even with FetchType.EAGER) -- Key: OPENJPA-1920 URL: https://issues.apache.org/jira/browse/OPENJPA-1920 Project: OpenJPA Issue

Re: Tests take forever

2011-01-07 Thread MiƂosz Tylenda
-1 It is a good idea but I think the time is wrong. We have introduced JDBC test slowness into 2.1 and 2.2 - see OPENJPA-1876 [1] - which is partly responsible for the long build time. The slowness should be identified and got rid off. Only after that we should determine which tests are slow

[jira] Assigned: (OPENJPA-1873) EntityManager#merge sometimes passes wrong entity values to @PostLoad EntityListeners

2011-01-07 Thread Rick Curtis (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-1873?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rick Curtis reassigned OPENJPA-1873: Assignee: Rick Curtis EntityManager#merge sometimes passes wrong entity values to

[jira] Updated: (OPENJPA-1873) EntityManager#merge sometimes passes wrong entity values to @PostLoad EntityListeners

2011-01-07 Thread Rick Curtis (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-1873?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rick Curtis updated OPENJPA-1873: - Attachment: openjpa-1873-hack-1.patch Attaching a hack for Mark to play around with.

[jira] Updated: (OPENJPA-1873) EntityManager#merge sometimes passes wrong entity values to @PostLoad EntityListeners

2011-01-07 Thread Mark Struberg (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-1873?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mark Struberg updated OPENJPA-1873: --- Attachment: OPENJPA-1873-fix1.patch Hi Rick! Here is my first take on the problem based

[jira] Commented: (OPENJPA-1873) EntityManager#merge sometimes passes wrong entity values to @PostLoad EntityListeners

2011-01-07 Thread Mark Struberg (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-1873?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12979044#action_12979044 ] Mark Struberg commented on OPENJPA-1873: one thing: we should possibly suppress

change schema based on environment

2011-01-07 Thread keitea
I am using OpenJPA 1.2.3 on WebSphere with DB2. I have spent a lot of time trying to figure out if there is a way to build and bundle my application in a way that allows for the same application (EAR) to have a changing Schema name based on environment (DEV,ACPT,PROD, etc). My PU is setup up

Build Errors

2011-01-07 Thread Umashanthi Pavalanathan
Hi devs, I checked out the OpenJPA source code from [1] and trying to build it. I'm getting build errors due to different class files, in the OpenJPA Persistence JDBC component, each time I build. Following are some of the errors [2] [3] [4]. I would be glad if someone can guide me to solve