rbygrave e54b7052e0 #2272 Fix for collection with orphanRemoval (such that equals/hashCode isn't use)
- Changes ModifyHolder to use IdentityHashMap such that equals/hashcode isn't invoked
- Change SaveManyBeans such that M2M intersection deletes execute before inserts

The SaveManyBeans change is required to pass TestM2MModifyTest. With that test we get a delete/insert pair that we somewhat expect because we clear() the collection. Previously equals/hashCode meant we didn't get that delete/insert pair.

The test changes from containsExactly() to containsOnly() as we now can't guarantee the ordering with IdentityHashMap.
2021-07-23 12:18:06 +12:00
2019-06-19 23:49:00 +12:00
2020-12-07 22:47:43 +13:00
2018-10-24 21:38:17 +13:00
2019-10-14 09:21:41 +13:00

Build Status Maven Central : ebean

Sponsors

Need help?

Post questions or issues to the Ebean google group - https://groups.google.com/forum/#!forum/ebean

Documentation

Goto https://ebean.io/docs/

Maven central - ebean

Maven central - all related projects

Other versions

  • Maven Central : ebean-agent - ebean-agent
  • Maven Central : ebean-maven-plugin - ebean-maven-plugin
Languages
Java 94%
PLpgSQL 2.7%
TSQL 2.5%
SQLPL 0.6%
Kotlin 0.1%