openjpa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jgras...@apache.org
Subject svn commit: r1595308 - /openjpa/branches/2.2.x/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/meta/strats/
Date Fri, 16 May 2014 19:06:59 GMT
Author: jgrassel
Date: Fri May 16 19:06:59 2014
New Revision: 1595308

URL: http://svn.apache.org/r1595308
Log:
OPENJPA-2475: A query with LEFT FETCH JOIN returns incorrect results

Modified:
    openjpa/branches/2.2.x/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/meta/strats/HandlerCollectionTableFieldStrategy.java
    openjpa/branches/2.2.x/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/meta/strats/RelationCollectionInverseKeyFieldStrategy.java
    openjpa/branches/2.2.x/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/meta/strats/RelationCollectionTableFieldStrategy.java
    openjpa/branches/2.2.x/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/meta/strats/RelationMapInverseKeyFieldStrategy.java
    openjpa/branches/2.2.x/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/meta/strats/RelationMapTableFieldStrategy.java
    openjpa/branches/2.2.x/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/meta/strats/RelationToManyInverseKeyFieldStrategy.java
    openjpa/branches/2.2.x/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/meta/strats/RelationToManyTableFieldStrategy.java
    openjpa/branches/2.2.x/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/meta/strats/StoreCollectionFieldStrategy.java

Modified: openjpa/branches/2.2.x/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/meta/strats/HandlerCollectionTableFieldStrategy.java
URL: http://svn.apache.org/viewvc/openjpa/branches/2.2.x/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/meta/strats/HandlerCollectionTableFieldStrategy.java?rev=1595308&r1=1595307&r2=1595308&view=diff
==============================================================================
--- openjpa/branches/2.2.x/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/meta/strats/HandlerCollectionTableFieldStrategy.java
(original)
+++ openjpa/branches/2.2.x/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/meta/strats/HandlerCollectionTableFieldStrategy.java
Fri May 16 19:06:59 2014
@@ -42,6 +42,8 @@ public class HandlerCollectionTableField
     extends StoreCollectionFieldStrategy
     implements LRSCollectionFieldStrategy {
 
+    private static final long serialVersionUID = -1046212544538389368L;
+
     private static final Localizer _loc = Localizer.forPackage
         (HandlerCollectionTableFieldStrategy.class);
 

Modified: openjpa/branches/2.2.x/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/meta/strats/RelationCollectionInverseKeyFieldStrategy.java
URL: http://svn.apache.org/viewvc/openjpa/branches/2.2.x/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/meta/strats/RelationCollectionInverseKeyFieldStrategy.java?rev=1595308&r1=1595307&r2=1595308&view=diff
==============================================================================
--- openjpa/branches/2.2.x/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/meta/strats/RelationCollectionInverseKeyFieldStrategy.java
(original)
+++ openjpa/branches/2.2.x/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/meta/strats/RelationCollectionInverseKeyFieldStrategy.java
Fri May 16 19:06:59 2014
@@ -46,6 +46,8 @@ public class RelationCollectionInverseKe
     extends RelationToManyInverseKeyFieldStrategy
     implements LRSCollectionFieldStrategy {
 
+    private static final long serialVersionUID = 5428995654524431931L;
+    
     private static final Localizer _loc = Localizer.forPackage
         (RelationCollectionInverseKeyFieldStrategy.class);
 

Modified: openjpa/branches/2.2.x/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/meta/strats/RelationCollectionTableFieldStrategy.java
URL: http://svn.apache.org/viewvc/openjpa/branches/2.2.x/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/meta/strats/RelationCollectionTableFieldStrategy.java?rev=1595308&r1=1595307&r2=1595308&view=diff
==============================================================================
--- openjpa/branches/2.2.x/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/meta/strats/RelationCollectionTableFieldStrategy.java
(original)
+++ openjpa/branches/2.2.x/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/meta/strats/RelationCollectionTableFieldStrategy.java
Fri May 16 19:06:59 2014
@@ -46,6 +46,8 @@ public class RelationCollectionTableFiel
     extends RelationToManyTableFieldStrategy
     implements LRSCollectionFieldStrategy {
 
+    private static final long serialVersionUID = 7503030490396256600L;
+    
     private static final Localizer _loc = Localizer.forPackage
         (RelationCollectionTableFieldStrategy.class);
 

Modified: openjpa/branches/2.2.x/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/meta/strats/RelationMapInverseKeyFieldStrategy.java
URL: http://svn.apache.org/viewvc/openjpa/branches/2.2.x/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/meta/strats/RelationMapInverseKeyFieldStrategy.java?rev=1595308&r1=1595307&r2=1595308&view=diff
==============================================================================
--- openjpa/branches/2.2.x/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/meta/strats/RelationMapInverseKeyFieldStrategy.java
(original)
+++ openjpa/branches/2.2.x/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/meta/strats/RelationMapInverseKeyFieldStrategy.java
Fri May 16 19:06:59 2014
@@ -51,6 +51,8 @@ public class RelationMapInverseKeyFieldS
     extends RelationToManyInverseKeyFieldStrategy
     implements LRSMapFieldStrategy {
 
+    private static final long serialVersionUID = 4283482067478701120L;
+    
     private static final Localizer _loc = Localizer.forPackage
         (RelationMapInverseKeyFieldStrategy.class);
 

Modified: openjpa/branches/2.2.x/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/meta/strats/RelationMapTableFieldStrategy.java
URL: http://svn.apache.org/viewvc/openjpa/branches/2.2.x/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/meta/strats/RelationMapTableFieldStrategy.java?rev=1595308&r1=1595307&r2=1595308&view=diff
==============================================================================
--- openjpa/branches/2.2.x/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/meta/strats/RelationMapTableFieldStrategy.java
(original)
+++ openjpa/branches/2.2.x/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/meta/strats/RelationMapTableFieldStrategy.java
Fri May 16 19:06:59 2014
@@ -50,6 +50,8 @@ public class RelationMapTableFieldStrate
     extends RelationToManyTableFieldStrategy
     implements LRSMapFieldStrategy {
 
+    private static final long serialVersionUID = 4748058273897641783L;
+    
     private static final Localizer _loc = Localizer.forPackage
         (RelationMapTableFieldStrategy.class);
 

Modified: openjpa/branches/2.2.x/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/meta/strats/RelationToManyInverseKeyFieldStrategy.java
URL: http://svn.apache.org/viewvc/openjpa/branches/2.2.x/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/meta/strats/RelationToManyInverseKeyFieldStrategy.java?rev=1595308&r1=1595307&r2=1595308&view=diff
==============================================================================
--- openjpa/branches/2.2.x/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/meta/strats/RelationToManyInverseKeyFieldStrategy.java
(original)
+++ openjpa/branches/2.2.x/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/meta/strats/RelationToManyInverseKeyFieldStrategy.java
Fri May 16 19:06:59 2014
@@ -59,6 +59,8 @@ import org.apache.openjpa.util.Proxy;
 public abstract class RelationToManyInverseKeyFieldStrategy
     extends StoreCollectionFieldStrategy {
 
+    private static final long serialVersionUID = 2317326318332436956L;
+
     private static final Localizer _loc = Localizer.forPackage
         (RelationToManyInverseKeyFieldStrategy.class);
 

Modified: openjpa/branches/2.2.x/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/meta/strats/RelationToManyTableFieldStrategy.java
URL: http://svn.apache.org/viewvc/openjpa/branches/2.2.x/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/meta/strats/RelationToManyTableFieldStrategy.java?rev=1595308&r1=1595307&r2=1595308&view=diff
==============================================================================
--- openjpa/branches/2.2.x/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/meta/strats/RelationToManyTableFieldStrategy.java
(original)
+++ openjpa/branches/2.2.x/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/meta/strats/RelationToManyTableFieldStrategy.java
Fri May 16 19:06:59 2014
@@ -54,6 +54,8 @@ import org.apache.openjpa.util.Proxy;
 public abstract class RelationToManyTableFieldStrategy
     extends StoreCollectionFieldStrategy {
 
+    private static final long serialVersionUID = 4803388504919500210L;
+    
     private static final Localizer _loc = Localizer.forPackage
         (RelationToManyTableFieldStrategy.class);
 

Modified: openjpa/branches/2.2.x/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/meta/strats/StoreCollectionFieldStrategy.java
URL: http://svn.apache.org/viewvc/openjpa/branches/2.2.x/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/meta/strats/StoreCollectionFieldStrategy.java?rev=1595308&r1=1595307&r2=1595308&view=diff
==============================================================================
--- openjpa/branches/2.2.x/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/meta/strats/StoreCollectionFieldStrategy.java
(original)
+++ openjpa/branches/2.2.x/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/meta/strats/StoreCollectionFieldStrategy.java
Fri May 16 19:06:59 2014
@@ -64,6 +64,8 @@ import org.apache.openjpa.util.DelayedPr
 public abstract class StoreCollectionFieldStrategy
     extends ContainerFieldStrategy {
 
+    private static final long serialVersionUID = -5099166423704842402L;
+
     /**
      * Return the foreign key used to join to the owning field for the given
      * element mapping from {@link #getIndependentElementMappings} (or null).



Mime
View raw message