openjpa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From strub...@apache.org
Subject svn commit: r1757131 - /openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/annotations/common/apps/annotApp/annotype/AnnoTest2.java
Date Mon, 22 Aug 2016 10:00:12 GMT
Author: struberg
Date: Mon Aug 22 10:00:11 2016
New Revision: 1757131

URL: http://svn.apache.org/viewvc?rev=1757131&view=rev
Log:
fix serializable exception

Modified:
    openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/annotations/common/apps/annotApp/annotype/AnnoTest2.java

Modified: openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/annotations/common/apps/annotApp/annotype/AnnoTest2.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/annotations/common/apps/annotApp/annotype/AnnoTest2.java?rev=1757131&r1=1757130&r2=1757131&view=diff
==============================================================================
--- openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/annotations/common/apps/annotApp/annotype/AnnoTest2.java
(original)
+++ openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/annotations/common/apps/annotApp/annotype/AnnoTest2.java
Mon Aug 22 10:00:11 2016
@@ -19,6 +19,7 @@
 package
     org.apache.openjpa.persistence.annotations.common.apps.annotApp.annotype;
 
+import java.io.Serializable;
 import java.util.*;
 
 import javax.persistence.*;
@@ -119,7 +120,7 @@ public class AnnoTest2 {
         return manyMany;
     }
 
-    public static class Oid {
+    public static class Oid implements Serializable {
 
         public long pk1;
         public String pk2;



Mime
View raw message