openjpa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mik...@apache.org
Subject svn commit: r1005982 - /openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/kernel/common/apps/AllFieldsTypeTest.java
Date Fri, 08 Oct 2010 19:29:16 GMT
Author: mikedd
Date: Fri Oct  8 19:29:15 2010
New Revision: 1005982

URL: http://svn.apache.org/viewvc?rev=1005982&view=rev
Log:
Set scale and precision for AllFieldsTypeTest. 

Modified:
    openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/kernel/common/apps/AllFieldsTypeTest.java

Modified: openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/kernel/common/apps/AllFieldsTypeTest.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/kernel/common/apps/AllFieldsTypeTest.java?rev=1005982&r1=1005981&r2=1005982&view=diff
==============================================================================
--- openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/kernel/common/apps/AllFieldsTypeTest.java
(original)
+++ openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/kernel/common/apps/AllFieldsTypeTest.java
Fri Oct  8 19:29:15 2010
@@ -23,6 +23,8 @@ import java.math.BigInteger;
 import java.util.Arrays;
 import java.util.Calendar;
 import java.util.Date;
+
+import javax.persistence.Column;
 import javax.persistence.Entity;
 import javax.persistence.Id;
 import javax.persistence.Table;
@@ -50,6 +52,7 @@ public class AllFieldsTypeTest {
     private Calendar testCalendar;
     private Object testObject;
     private BigInteger testBigInteger;
+    @Column(scale=8, precision=12)
     private BigDecimal testBigDecimal;
 
     public Date getTestDate() {



Mime
View raw message