openjpa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From curti...@apache.org
Subject svn commit: r1399715 - /openjpa/trunk/openjpa-integration/daytrader/src/test/java/org/apache/openjpa/integration/daytrader/AccountDataBean.java
Date Thu, 18 Oct 2012 16:07:33 GMT
Author: curtisr7
Date: Thu Oct 18 16:07:32 2012
New Revision: 1399715

URL: http://svn.apache.org/viewvc?rev=1399715&view=rev
Log:
OPENJPA-2280: Update AccountDataBean to include scale and precision.

Modified:
    openjpa/trunk/openjpa-integration/daytrader/src/test/java/org/apache/openjpa/integration/daytrader/AccountDataBean.java

Modified: openjpa/trunk/openjpa-integration/daytrader/src/test/java/org/apache/openjpa/integration/daytrader/AccountDataBean.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-integration/daytrader/src/test/java/org/apache/openjpa/integration/daytrader/AccountDataBean.java?rev=1399715&r1=1399714&r2=1399715&view=diff
==============================================================================
--- openjpa/trunk/openjpa-integration/daytrader/src/test/java/org/apache/openjpa/integration/daytrader/AccountDataBean.java
(original)
+++ openjpa/trunk/openjpa-integration/daytrader/src/test/java/org/apache/openjpa/integration/daytrader/AccountDataBean.java
Thu Oct 18 16:07:32 2012
@@ -87,10 +87,10 @@ public class AccountDataBean implements 
     @Temporal(TemporalType.TIMESTAMP)
     private Date creationDate;              /* creationDate */
     
-    @Column(name = "BALANCE")
+    @Column(name = "BALANCE", precision=12, scale=2)
     private BigDecimal balance;             /* balance */
     
-    @Column(name = "OPENBALANCE")
+     @Column(name = "OPENBALANCE", precision=12, scale=2)
     private BigDecimal openBalance;         /* open balance */
     
     @OneToMany(mappedBy = "account", fetch=FetchType.LAZY)



Mime
View raw message