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/branches/Branch_3_2@15813 1b8cb986-b30d-0410-93ca-fae66ebed9b2
This commit is contained in:
parent
36b036210d
commit
b3eba449ff
|
@ -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">
|
||||
|
@ -48,4 +48,4 @@
|
|||
<property name="address" type="string"/>
|
||||
</class>
|
||||
|
||||
</hibernate-mapping>
|
||||
</hibernate-mapping>
|
||||
|
|
|
@ -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