Missing "Row was updated by another transaction"

I have updated Hibernate ORM from 4.2.7 to 5.1.17. In 4.2.7, Hibernate would show “Row was updated by another transaction” with Object ID. However, 5.1.17 just show “Batch update return unexpected row count from update [0] expect [1]” that not user friendly message and don’t know which object ID problem under concurrent update.

Please tell me how to identify which object ID when concurrency update in order to trace in 5.1 version, thanks.