mirror of https://github.com/apache/openjpa.git
Set scale and precision for AllFieldsTypeTest.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1005982 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
a9c49f705e
commit
6ebaf34bd9
|
@ -23,6 +23,8 @@ import java.math.BigInteger;
|
||||||
import java.util.Arrays;
|
import java.util.Arrays;
|
||||||
import java.util.Calendar;
|
import java.util.Calendar;
|
||||||
import java.util.Date;
|
import java.util.Date;
|
||||||
|
|
||||||
|
import javax.persistence.Column;
|
||||||
import javax.persistence.Entity;
|
import javax.persistence.Entity;
|
||||||
import javax.persistence.Id;
|
import javax.persistence.Id;
|
||||||
import javax.persistence.Table;
|
import javax.persistence.Table;
|
||||||
|
@ -50,6 +52,7 @@ public class AllFieldsTypeTest {
|
||||||
private Calendar testCalendar;
|
private Calendar testCalendar;
|
||||||
private Object testObject;
|
private Object testObject;
|
||||||
private BigInteger testBigInteger;
|
private BigInteger testBigInteger;
|
||||||
|
@Column(scale=8, precision=12)
|
||||||
private BigDecimal testBigDecimal;
|
private BigDecimal testBigDecimal;
|
||||||
|
|
||||||
public Date getTestDate() {
|
public Date getTestDate() {
|
||||||
|
|
Loading…
Reference in New Issue