[hibernate-commits] [hibernate/hibernate-orm] 233266: HHH-5409 - bag and idbag should implement equals()...

GitHub noreply at github.com
Wed Sep 28 09:24:09 EDT 2016


  Branch: refs/heads/master
  Home:   https://github.com/hibernate/hibernate-orm
  Commit: 23326608f7929676c315e85d14ea59d2607dfc5c
      https://github.com/hibernate/hibernate-orm/commit/23326608f7929676c315e85d14ea59d2607dfc5c
  Author: Vlad Mihalcea <mihalcea.vlad at gmail.com>
  Date:   2016-09-28 (Wed, 28 Sep 2016)

  Changed paths:
    A hibernate-core/src/test/java/org/hibernate/test/collection/bag/PersistentBagContainsTest.java

  Log Message:
  -----------
  HHH-5409 - bag and idbag should implement equals() and hashCode() the same way as other collections

This test does not verify how equals is implemented for Bags,
but rather if the child entity equals and hashCode are used properly for both
managed and detached entities.




More information about the hibernate-commits mailing list