Re: MSDN licenses

2007-08-09 Thread Markus Fuchs
I'm interested as well! Thanks, -- markus. Craig L Russell wrote: If anyone could use a MSDN license for developing OpenJPA, please send me email so I can coordinate the number of licenses. No guarantees that we will get the number we want, but let me know if you're interested. Thanks, Cr

[jira] Commented: (OPENJPA-235) SQL reordering to avoid non-nullable foreign key constraint violations

2007-08-03 Thread Markus Fuchs (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-235?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12517657 ] Markus Fuchs commented on OPENJPA-235: -- Reece, I was quite busy this week, but I will start on addressing

[jira] Commented: (OPENJPA-177) When using NOT NULL constraint on foreign key it is not possible to use CascadeType.ALL and GeneratedId

2007-07-31 Thread Markus Fuchs (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-177?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12516785 ] Markus Fuchs commented on OPENJPA-177: -- This problem should be solved by openjpa-235-break-nullable.patch

Re: svn commit: r557089 - in /openjpa/trunk: openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/kernel/ openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/schema/ openjpa-jdbc/src/main/resources/org/a

2007-07-30 Thread Markus Fuchs
onfused. If the current testcase works with the Sun JDK, why am I getting different results just because I changed the equality checks for the IBM JDK? I also just tried changing the testcase per your patch for the node and edge definitions and I still get the same result. So, we're not o

Re1: svn commit: r557089 - in /openjpa/trunk: openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/kernel/ openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/schema/ openjpa-jdbc/src/main/resources/org/

2007-07-30 Thread Markus Fuchs
Maybe it just my mail client that's only showing my updated patch to address the test failure. This is my original comment to Kevin's email: Hi Kevin, all, I have found several places in DepthFirstAnalysis, Graph, Edge, and the testcase that was using the wrong equality check. The testcase is

Re: svn commit: r557089 - in /openjpa/trunk: openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/kernel/ openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/schema/ openjpa-jdbc/src/main/resources/org/a

2007-07-30 Thread Markus Fuchs
Index: openjpa-lib/src/test/java/org/apache/openjpa/lib/graph/TestDepthFirstAnalysis.java === --- openjpa-lib/src/test/java/org/apache/openjpa/lib/graph/TestDepthFirstAnalysis.java (revision 561053) +++ openjpa-lib/src/test/java/o

[jira] Updated: (OPENJPA-231) Incorrect handling of cascading bidirectional collections during merge/attach

2007-07-19 Thread Markus Fuchs (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-231?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Markus Fuchs updated OPENJPA-231: - Attachment: openjpa-231.patch I propose a slight change to Gokhan's patch, please see op

Re: svn commit: r557089 - in /openjpa/trunk: openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/kernel/ openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/schema/ openjpa-jdbc/src/main/resources/org/a

2007-07-19 Thread Markus Fuchs
ct.Method.invoke(Method.java:615) at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess( SurefireBooter.java:225) at org.apache.maven.surefire.booter.SurefireBooter.main( SurefireBooter.java:747) On 7/18/07, Markus Fuchs <[EMAIL PROTECTED]> wrote: Thanks Marc.

Re: svn commit: r557089 - in /openjpa/trunk: openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/kernel/ openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/schema/ openjpa-jdbc/src/main/resources/org/a

2007-07-18 Thread Markus Fuchs
Thanks Marc. I added debug statements the the code accessing the _nodeInfo Map. Could somebody please try the attached patch! -- markus. Marc Prud'hommeaux wrote: As a random shot in the dark (I can't reproduce the error on my machine), I notice that the _nodeInfo Map is relying on keys bein

Re: svn commit: r557089 - in /openjpa/trunk: openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/kernel/ openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/schema/ openjpa-jdbc/src/main/resources/org/a

2007-07-18 Thread Markus Fuchs
I'll investigate as well. Can I download IBM's vm from somewhere? Thanks, -- markus. Patrick Linskey wrote: NodeInfo almost certainly can't be the problem -- that's a final int, so should be inlined by the compiler, and the class lookup shouldn't even happen at runtime in that case. -Patrick

[jira] Updated: (OPENJPA-235) SQL reordering to avoid non-nullable foreign key constraint violations

2007-07-16 Thread Markus Fuchs (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-235?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Markus Fuchs updated OPENJPA-235: - Attachment: openjpa-235-break-nullable-070716.patch Thanks Craig for the review! To your

[jira] Commented: (OPENJPA-177) When using NOT NULL constraint on foreign key it is not possible to use CascadeType.ALL and GeneratedId

2007-07-11 Thread Markus Fuchs (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-177?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12511905 ] Markus Fuchs commented on OPENJPA-177: -- Daniel, I submitted a patch for OPENJPA-235 that prevents nullifying

[jira] Updated: (OPENJPA-235) SQL reordering to avoid non-nullable foreign key constraint violations

2007-07-10 Thread Markus Fuchs (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-235?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Markus Fuchs updated OPENJPA-235: - Attachment: openjpa-235-break-nullable.patch This patch guarantees that circular dependencies

[jira] Commented: (OPENJPA-235) SQL reordering to avoid non-nullable foreign key constraint violations

2007-06-26 Thread Markus Fuchs (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-235?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12508289 ] Markus Fuchs commented on OPENJPA-235: -- Hi Kevan, Is it possible that the tests failing with

[jira] Commented: (OPENJPA-235) SQL reordering to avoid non-nullable foreign key constraint violations

2007-06-20 Thread Markus Fuchs (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-235?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12506619 ] Markus Fuchs commented on OPENJPA-235: -- Hi Kevin & Kevan, The current implementatio

[jira] Commented: (OPENJPA-235) SQL reordering to avoid non-nullable foreign key constraint violations

2007-06-13 Thread Markus Fuchs (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-235?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12504478 ] Markus Fuchs commented on OPENJPA-235: -- Hi Reece, I started implementing my proposal. As the 3 steps are

[jira] Commented: (OPENJPA-235) SQL reordering to avoid non-nullable foreign key constraint violations

2007-06-11 Thread Markus Fuchs (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-235?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12503698 ] Markus Fuchs commented on OPENJPA-235: -- Hi all, I propose the following steps to extend dependency management

Re: Two questions about OpenJPA impl.

2007-06-08 Thread Markus Fuchs
;-Where" mean the SET and WHERE clause of a SQL (UPDATE) statement? What are the values in ForeignKeyWhere? Aren't these before image values? Also, I expect updates to be done referencing pk columns only, like WHERE pk1 = ?, ..., pkN = ? Thanks again, -- markus. -Patrick On 6/7

Two questions about OpenJPA impl.

2007-06-07 Thread Markus Fuchs
Hi all, could somebody please answer these questions? 1) Does OpenJPA create before images for rollback? Or is the transaction rollback functionality just implemented in the JDO closed source? As Reece mentions, we'd need before image values on relationships for dependency calculation in case

[jira] Updated: (OPENJPA-235) SQL reordering to avoid non-nullable foreign key constraint violations

2007-06-06 Thread Markus Fuchs (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-235?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Markus Fuchs updated OPENJPA-235: - Attachment: openjpa-235-test2.zip Hi Patrick, from comments in ConstraintUpdateManager (line

[jira] Commented: (OPENJPA-235) SQL reordering to avoid non-nullable foreign key constraint violations

2007-06-04 Thread Markus Fuchs (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-235?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12501352 ] Markus Fuchs commented on OPENJPA-235: -- Gokhan, I applied your patch and ran the TCK successfully again

[jira] Commented: (OPENJPA-235) SQL reordering to avoid non-nullable foreign key constraint violations

2007-05-31 Thread Markus Fuchs (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-235?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12500542 ] Markus Fuchs commented on OPENJPA-235: -- Hi Reece, I ran the JPA TCK with your changes, and all tests passed