openjpa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kwsut...@apache.org
Subject svn commit: r571535 - in /openjpa/branches/1.0.x: openjpa-kernel/src/main/java/org/apache/openjpa/meta/ openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/relations/
Date Fri, 31 Aug 2007 18:35:45 GMT
Author: kwsutter
Date: Fri Aug 31 11:35:44 2007
New Revision: 571535

URL: http://svn.apache.org/viewvc?rev=571535&view=rev
Log:
OPENJPA-347.  Committing this performance regression update to the 1.0.x branch.

Modified:
    openjpa/branches/1.0.x/openjpa-kernel/src/main/java/org/apache/openjpa/meta/FieldMetaData.java
    openjpa/branches/1.0.x/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/relations/BidiChild.java
    openjpa/branches/1.0.x/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/relations/BidiParent.java

Modified: openjpa/branches/1.0.x/openjpa-kernel/src/main/java/org/apache/openjpa/meta/FieldMetaData.java
URL: http://svn.apache.org/viewvc/openjpa/branches/1.0.x/openjpa-kernel/src/main/java/org/apache/openjpa/meta/FieldMetaData.java?rev=571535&r1=571534&r2=571535&view=diff
==============================================================================
--- openjpa/branches/1.0.x/openjpa-kernel/src/main/java/org/apache/openjpa/meta/FieldMetaData.java
(original)
+++ openjpa/branches/1.0.x/openjpa-kernel/src/main/java/org/apache/openjpa/meta/FieldMetaData.java
Fri Aug 31 11:35:44 2007
@@ -594,7 +594,6 @@
                 // field left as default; dfg setting depends on type
                 switch (getTypeCode()) {
                     case JavaTypes.OBJECT:
-                    case JavaTypes.PC:
                         if (isSerializable() || isEnum())
                             _dfg = DFG_TRUE;
                         else
@@ -608,6 +607,7 @@
                         break;
                     case JavaTypes.COLLECTION:
                     case JavaTypes.MAP:
+                    case JavaTypes.PC:
                     case JavaTypes.PC_UNTYPED:
                         _dfg = DFG_FALSE;
                         break;

Modified: openjpa/branches/1.0.x/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/relations/BidiChild.java
URL: http://svn.apache.org/viewvc/openjpa/branches/1.0.x/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/relations/BidiChild.java?rev=571535&r1=571534&r2=571535&view=diff
==============================================================================
--- openjpa/branches/1.0.x/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/relations/BidiChild.java
(original)
+++ openjpa/branches/1.0.x/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/relations/BidiChild.java
Fri Aug 31 11:35:44 2007
@@ -18,6 +18,8 @@
  */
 package org.apache.openjpa.persistence.relations;
 
+import java.io.Serializable;
+
 import javax.persistence.Entity;
 import javax.persistence.FetchType;
 import javax.persistence.GeneratedValue;
@@ -26,7 +28,7 @@
 import javax.persistence.OneToOne;
 
 @Entity
-public class BidiChild {
+public class BidiChild implements Serializable {
 
     @Id
     @GeneratedValue

Modified: openjpa/branches/1.0.x/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/relations/BidiParent.java
URL: http://svn.apache.org/viewvc/openjpa/branches/1.0.x/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/relations/BidiParent.java?rev=571535&r1=571534&r2=571535&view=diff
==============================================================================
--- openjpa/branches/1.0.x/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/relations/BidiParent.java
(original)
+++ openjpa/branches/1.0.x/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/relations/BidiParent.java
Fri Aug 31 11:35:44 2007
@@ -18,6 +18,7 @@
  */
 package org.apache.openjpa.persistence.relations;
 
+import java.io.Serializable;
 import java.util.ArrayList;
 import java.util.List;
 
@@ -30,7 +31,7 @@
 import javax.persistence.OrderBy;
 
 @Entity
-public class BidiParent {
+public class BidiParent implements Serializable {
 
     @Id
     @GeneratedValue



Mime
View raw message