HHH-3696 : Sybase - unit tests fail when numeric values overflow in precision or scale on insert
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@15815 1b8cb986-b30d-0410-93ca-fae66ebed9b2
This commit is contained in:
parent
45e93dc562
commit
a115232c65
|
@ -38,7 +38,7 @@
|
|||
<id name="accountId" type="string" node="@id"/>
|
||||
<many-to-one name="customer" column="customerId" entity-name="Customer" cascade="all" embed-xml="true" />
|
||||
<!--not-null="true"-->
|
||||
<property name="balance" type="big_decimal" node="balance" precision="10" scale="0" />
|
||||
<property name="balance" type="big_decimal" node="balance" precision="10" scale="2" />
|
||||
</class>
|
||||
|
||||
<class entity-name="Location" node="location">
|
||||
|
|
|
@ -13,10 +13,10 @@
|
|||
<generator class="increment"/>
|
||||
</id>
|
||||
<property name="x">
|
||||
<column name="xval" not-null="true" precision="4" unique-key="xy"/>
|
||||
<column name="xval" not-null="true" precision="20" scale="19" unique-key="xy"/>
|
||||
</property>
|
||||
<property name="y">
|
||||
<column name="yval" not-null="true" precision="4" unique-key="xy"/>
|
||||
<column name="yval" not-null="true" precision="20" scale="19" unique-key="xy"/>
|
||||
</property>
|
||||
<property name="description"/>
|
||||
</class>
|
||||
|
|
Loading…
Reference in New Issue