HHH-13926 Test for the issue

This commit is contained in:
Sanne Grinovero 2020-07-20 23:16:33 +02:00
parent ccc99c972c
commit 1ce322bceb
1 changed files with 1 additions and 0 deletions

View File

@ -92,6 +92,7 @@ public class BatchOptimisticLockingTest extends
}
catch (Exception expected) {
assertEquals( OptimisticLockException.class, expected.getClass());
assertEquals( "Batch update returned unexpected row count from update [1]; actual row count: 0; expected: 1; statement executed: update Person set name=?, version=? where id=? and version=?", expected.getMessage() );
}
}