[hibernate-issues] [Hibernate-JIRA] Closed: (HHH-4568) Sybase - Test "BatchTest" fails due to "unexpected row count from update"

Steve Ebersole (JIRA) noreply at atlassian.com
Fri Jul 16 15:36:13 EDT 2010


     [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-4568?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Steve Ebersole closed HHH-4568.
-------------------------------


> Sybase - Test "BatchTest" fails due to "unexpected row count from update"
> -------------------------------------------------------------------------
>
>                 Key: HHH-4568
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-4568
>             Project: Hibernate Core
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 3.2.4.sp1, 3.3.2, 3.5.0.Beta-1, 3.5.0-Beta-2
>         Environment: Sybase
>            Reporter: Strong Liu
>            Assignee: Strong Liu
>             Fix For: 3.5.4, 3.6
>
>
> The test "BatchTest" fails due to "org.hibernate.StaleStateException: Batch update returned unexpected row count from update [0]; actual row count: 0; expected: 1". The database server seems configured properly, as the "BatchUpdates" sample from jConnect 6 works correctly.
> The problem specifically occurs with a table that has a numeric column with precision (e.g. numeric(10,4))
> Sybase does not thrown any SQLException when you try and persist a numeric value whose scale exceeds that defined on the column. Instead, it returns an updateCount of zero

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the hibernate-issues mailing list