openjpa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From strub...@apache.org
Subject svn commit: r1689998 - /openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/jdbc/meta/EntityBool.java
Date Thu, 09 Jul 2015 07:38:47 GMT
Author: struberg
Date: Thu Jul  9 07:38:47 2015
New Revision: 1689998

URL: http://svn.apache.org/r1689998
Log:
trying to fix build error on CI

Modified:
    openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/jdbc/meta/EntityBool.java

Modified: openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/jdbc/meta/EntityBool.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/jdbc/meta/EntityBool.java?rev=1689998&r1=1689997&r2=1689998&view=diff
==============================================================================
--- openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/jdbc/meta/EntityBool.java
(original)
+++ openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/jdbc/meta/EntityBool.java
Thu Jul  9 07:38:47 2015
@@ -22,8 +22,10 @@ import javax.persistence.*;
 @Entity
 public class EntityBool {
     
-    @Id 
+    @Id
+    @GeneratedValue
     private int id;
+
     private boolean dummy;
     
     public boolean isDummy() {
@@ -37,9 +39,5 @@ public class EntityBool {
     public int getId() {
         return id;
     }
-    
-    public void setId(int id) {
-        this.id = id;
-    }
 }
 



Mime
View raw message