openjpa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dwo...@apache.org
Subject svn commit: r796330 - /openjpa/trunk/openjpa-integration/validation/src/test/java/org/apache/openjpa/integration/validation/
Date Tue, 21 Jul 2009 15:00:41 GMT
Author: dwoods
Date: Tue Jul 21 15:00:41 2009
New Revision: 796330

URL: http://svn.apache.org/viewvc?rev=796330&view=rev
Log:
OPENJPA-1177 cleanup metadata and imports

Modified:
    openjpa/trunk/openjpa-integration/validation/src/test/java/org/apache/openjpa/integration/validation/ConstraintBoolean.java
    openjpa/trunk/openjpa-integration/validation/src/test/java/org/apache/openjpa/integration/validation/ConstraintDates.java
    openjpa/trunk/openjpa-integration/validation/src/test/java/org/apache/openjpa/integration/validation/ConstraintDecimal.java
    openjpa/trunk/openjpa-integration/validation/src/test/java/org/apache/openjpa/integration/validation/ConstraintDigits.java
    openjpa/trunk/openjpa-integration/validation/src/test/java/org/apache/openjpa/integration/validation/ConstraintNull.java
    openjpa/trunk/openjpa-integration/validation/src/test/java/org/apache/openjpa/integration/validation/ConstraintNumber.java
    openjpa/trunk/openjpa-integration/validation/src/test/java/org/apache/openjpa/integration/validation/ConstraintPattern.java
    openjpa/trunk/openjpa-integration/validation/src/test/java/org/apache/openjpa/integration/validation/ConstraintSize.java

Modified: openjpa/trunk/openjpa-integration/validation/src/test/java/org/apache/openjpa/integration/validation/ConstraintBoolean.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-integration/validation/src/test/java/org/apache/openjpa/integration/validation/ConstraintBoolean.java?rev=796330&r1=796329&r2=796330&view=diff
==============================================================================
--- openjpa/trunk/openjpa-integration/validation/src/test/java/org/apache/openjpa/integration/validation/ConstraintBoolean.java
(original)
+++ openjpa/trunk/openjpa-integration/validation/src/test/java/org/apache/openjpa/integration/validation/ConstraintBoolean.java
Tue Jul 21 15:00:41 2009
@@ -23,19 +23,11 @@
 import javax.persistence.Entity;
 import javax.persistence.GeneratedValue;
 import javax.persistence.Id;
-import javax.persistence.NamedQueries;
-import javax.persistence.NamedQuery;
 import javax.persistence.Table;
 import javax.persistence.Transient;
-import javax.validation.Valid;
 import javax.validation.constraints.AssertFalse;
 import javax.validation.constraints.AssertTrue;
 
-@NamedQueries( {
-    @NamedQuery(name="FindFirst",
-            query="select c from VBOOLEAN c where c.id = 1"),
-    @NamedQuery(name="FindAll", query="select c from VBOOLEAN c")
-})
 
 @Entity(name = "VBOOLEAN")
 @Table(name = "BOOLEAN_ENTITY")

Modified: openjpa/trunk/openjpa-integration/validation/src/test/java/org/apache/openjpa/integration/validation/ConstraintDates.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-integration/validation/src/test/java/org/apache/openjpa/integration/validation/ConstraintDates.java?rev=796330&r1=796329&r2=796330&view=diff
==============================================================================
--- openjpa/trunk/openjpa-integration/validation/src/test/java/org/apache/openjpa/integration/validation/ConstraintDates.java
(original)
+++ openjpa/trunk/openjpa-integration/validation/src/test/java/org/apache/openjpa/integration/validation/ConstraintDates.java
Tue Jul 21 15:00:41 2009
@@ -19,7 +19,6 @@
 package org.apache.openjpa.integration.validation;
 
 import java.io.Serializable;
-import java.math.BigDecimal;
 import java.util.Calendar;
 import java.util.Date;
 import java.util.GregorianCalendar;
@@ -28,22 +27,12 @@
 import javax.persistence.Entity;
 import javax.persistence.GeneratedValue;
 import javax.persistence.Id;
-import javax.persistence.NamedQueries;
-import javax.persistence.NamedQuery;
 import javax.persistence.Table;
 import javax.persistence.Transient;
-import javax.validation.constraints.DecimalMax;
-import javax.validation.constraints.DecimalMin;
 import javax.validation.constraints.Future;
 import javax.validation.constraints.Past;
 
 
-@NamedQueries( {
-    @NamedQuery(name="FindFirst",
-            query="select c from VDATES c where c.id = 1"),
-    @NamedQuery(name="FindAll", query="select c from VDATES c")
-})
-
 @Entity(name = "VDATES")
 @Table(name = "DATES_ENTITY")
 public class ConstraintDates implements Serializable {

Modified: openjpa/trunk/openjpa-integration/validation/src/test/java/org/apache/openjpa/integration/validation/ConstraintDecimal.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-integration/validation/src/test/java/org/apache/openjpa/integration/validation/ConstraintDecimal.java?rev=796330&r1=796329&r2=796330&view=diff
==============================================================================
--- openjpa/trunk/openjpa-integration/validation/src/test/java/org/apache/openjpa/integration/validation/ConstraintDecimal.java
(original)
+++ openjpa/trunk/openjpa-integration/validation/src/test/java/org/apache/openjpa/integration/validation/ConstraintDecimal.java
Tue Jul 21 15:00:41 2009
@@ -25,20 +25,12 @@
 import javax.persistence.Entity;
 import javax.persistence.GeneratedValue;
 import javax.persistence.Id;
-import javax.persistence.NamedQueries;
-import javax.persistence.NamedQuery;
 import javax.persistence.Table;
 import javax.persistence.Transient;
 import javax.validation.constraints.DecimalMax;
 import javax.validation.constraints.DecimalMin;
 
 
-@NamedQueries( {
-    @NamedQuery(name="FindFirst",
-            query="select c from VDECIMAL c where c.id = 1"),
-    @NamedQuery(name="FindAll", query="select c from VDECIMAL c")
-})
-
 @Entity(name = "VDECIMAL")
 @Table(name = "DECIMAL_ENTITY")
 public class ConstraintDecimal implements Serializable {

Modified: openjpa/trunk/openjpa-integration/validation/src/test/java/org/apache/openjpa/integration/validation/ConstraintDigits.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-integration/validation/src/test/java/org/apache/openjpa/integration/validation/ConstraintDigits.java?rev=796330&r1=796329&r2=796330&view=diff
==============================================================================
--- openjpa/trunk/openjpa-integration/validation/src/test/java/org/apache/openjpa/integration/validation/ConstraintDigits.java
(original)
+++ openjpa/trunk/openjpa-integration/validation/src/test/java/org/apache/openjpa/integration/validation/ConstraintDigits.java
Tue Jul 21 15:00:41 2009
@@ -25,19 +25,11 @@
 import javax.persistence.Entity;
 import javax.persistence.GeneratedValue;
 import javax.persistence.Id;
-import javax.persistence.NamedQueries;
-import javax.persistence.NamedQuery;
 import javax.persistence.Table;
 import javax.persistence.Transient;
 import javax.validation.constraints.Digits;
 
 
-@NamedQueries( {
-    @NamedQuery(name="FindFirst",
-            query="select c from VDIGITS c where c.id = 1"),
-    @NamedQuery(name="FindAll", query="select c from VDIGITS c")
-})
-
 @Entity(name = "VDIGITS")
 @Table(name = "DIGITS_ENTITY")
 public class ConstraintDigits implements Serializable {

Modified: openjpa/trunk/openjpa-integration/validation/src/test/java/org/apache/openjpa/integration/validation/ConstraintNull.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-integration/validation/src/test/java/org/apache/openjpa/integration/validation/ConstraintNull.java?rev=796330&r1=796329&r2=796330&view=diff
==============================================================================
--- openjpa/trunk/openjpa-integration/validation/src/test/java/org/apache/openjpa/integration/validation/ConstraintNull.java
(original)
+++ openjpa/trunk/openjpa-integration/validation/src/test/java/org/apache/openjpa/integration/validation/ConstraintNull.java
Tue Jul 21 15:00:41 2009
@@ -23,20 +23,12 @@
 import javax.persistence.Entity;
 import javax.persistence.GeneratedValue;
 import javax.persistence.Id;
-import javax.persistence.NamedQueries;
-import javax.persistence.NamedQuery;
 import javax.persistence.Table;
 import javax.persistence.Transient;
 import javax.validation.constraints.NotNull;
 import javax.validation.constraints.Null;
 
 
-@NamedQueries( {
-    @NamedQuery(name="FindFirst",
-            query="select c from VNULL c where c.id = 1"),
-    @NamedQuery(name="FindAll", query="select c from VNULL c")
-})
-
 @Entity(name = "VNULL")
 @Table(name = "NULL_ENTITY")
 public class ConstraintNull implements Serializable {

Modified: openjpa/trunk/openjpa-integration/validation/src/test/java/org/apache/openjpa/integration/validation/ConstraintNumber.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-integration/validation/src/test/java/org/apache/openjpa/integration/validation/ConstraintNumber.java?rev=796330&r1=796329&r2=796330&view=diff
==============================================================================
--- openjpa/trunk/openjpa-integration/validation/src/test/java/org/apache/openjpa/integration/validation/ConstraintNumber.java
(original)
+++ openjpa/trunk/openjpa-integration/validation/src/test/java/org/apache/openjpa/integration/validation/ConstraintNumber.java
Tue Jul 21 15:00:41 2009
@@ -24,20 +24,12 @@
 import javax.persistence.Entity;
 import javax.persistence.GeneratedValue;
 import javax.persistence.Id;
-import javax.persistence.NamedQueries;
-import javax.persistence.NamedQuery;
 import javax.persistence.Table;
 import javax.persistence.Transient;
 import javax.validation.constraints.Max;
 import javax.validation.constraints.Min;
 
 
-@NamedQueries( {
-    @NamedQuery(name="FindFirst",
-            query="select c from VNUMBER c where c.id = 1"),
-    @NamedQuery(name="FindAll", query="select c from VNUMBER c")
-})
-
 @Entity(name = "VNUMBER")
 @Table(name = "NUMBER_ENTITY")
 public class ConstraintNumber implements Serializable {

Modified: openjpa/trunk/openjpa-integration/validation/src/test/java/org/apache/openjpa/integration/validation/ConstraintPattern.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-integration/validation/src/test/java/org/apache/openjpa/integration/validation/ConstraintPattern.java?rev=796330&r1=796329&r2=796330&view=diff
==============================================================================
--- openjpa/trunk/openjpa-integration/validation/src/test/java/org/apache/openjpa/integration/validation/ConstraintPattern.java
(original)
+++ openjpa/trunk/openjpa-integration/validation/src/test/java/org/apache/openjpa/integration/validation/ConstraintPattern.java
Tue Jul 21 15:00:41 2009
@@ -24,19 +24,11 @@
 import javax.persistence.Entity;
 import javax.persistence.GeneratedValue;
 import javax.persistence.Id;
-import javax.persistence.NamedQueries;
-import javax.persistence.NamedQuery;
 import javax.persistence.Table;
 import javax.persistence.Transient;
 import javax.validation.constraints.Pattern;
 
 
-@NamedQueries( {
-    @NamedQuery(name="FindFirst",
-            query="select c from VPATTERN c where c.id = 1"),
-    @NamedQuery(name="FindAll", query="select c from VPATTERN c")
-})
-
 @Entity(name = "VPATTERN")
 @Table(name = "PATTERN_ENTITY")
 public class ConstraintPattern implements Serializable {

Modified: openjpa/trunk/openjpa-integration/validation/src/test/java/org/apache/openjpa/integration/validation/ConstraintSize.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-integration/validation/src/test/java/org/apache/openjpa/integration/validation/ConstraintSize.java?rev=796330&r1=796329&r2=796330&view=diff
==============================================================================
--- openjpa/trunk/openjpa-integration/validation/src/test/java/org/apache/openjpa/integration/validation/ConstraintSize.java
(original)
+++ openjpa/trunk/openjpa-integration/validation/src/test/java/org/apache/openjpa/integration/validation/ConstraintSize.java
Tue Jul 21 15:00:41 2009
@@ -26,19 +26,11 @@
 import javax.persistence.Entity;
 import javax.persistence.GeneratedValue;
 import javax.persistence.Id;
-import javax.persistence.NamedQueries;
-import javax.persistence.NamedQuery;
 import javax.persistence.Table;
 import javax.persistence.Transient;
 import javax.validation.constraints.Size;
 
 
-@NamedQueries( {
-    @NamedQuery(name="FindFirst",
-            query="select c from VSIZE c where c.id = 1"),
-    @NamedQuery(name="FindAll", query="select c from VSIZE c")
-})
-
 @Entity(name = "VSIZE")
 @Table(name = "SIZE_ENTITY")
 public class ConstraintSize implements Serializable {



Mime
View raw message