]
Strong Liu resolved HHH-4568.
-----------------------------
Resolution: Fixed
Fix Version/s: 3.6
apply workaround in HHH-2388
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.x, 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: