13.21.0
Reason for version bump
- Bump h2 from 2.1.214 to 2.2.220 by @dependabot in #3136
If using H2 in production, the H2 database will need an upgrade.
Enhancements
- Add Query alsoIf() to conditionally apply changes to a query by @rbygrave in #3160
- Add Lists.partition() helper method and use in DefaultPersister batch deletion by @rbygrave in #3163
- [Postgres] Include buffers in Postgres explain - explain (analyze, buffers) by @rob-bygrave in #3138
- Modify ebean-test H2Database setup to default KEY,VALUE as non-keywords by @rbygrave in #3131
What's Changed
- #3123 Root cause error can be suppressed on initialisation by @rbygrave in #3130
- Bump ebean-datasource to 8.6, increases validation timeout default to 30 secs by @rbygrave in #3140
- #3134 - String cannot be cast to class io.ebean.bean.EntityBean" when deleting entities that use cascade = [CascadeType.ALL] with composite keys by @rbygrave in #3154
- #3133 - For IdClass match on property name by @rbygrave in #3155
- FIX: Query on formula m2o-property uses wrong alias: by @rPraml in #3145
- FIX: Recursive batch flush can save beans in wrong order by @rPraml in #3148
- Tidy IdBinderEmbedded final fields, StringBuilder sizes and reuse code by @rbygrave in #3157
- Followup for #3133 - "Embedded id expansion on parentIds" for SQLServer and DB2 by @rbygrave in #3158
- FIX: Rethrow error in commit path of callbacks by @rPraml in #3147
- Change IdClass property name to _$IdClass$ by @rbygrave in #3159
- Fix to #3133 changes for Postgres adding back support for MultiValue binding by @rbygrave in #3161
- Tidy IdBinderEmbedded - merge use of getIdProperty() and idSelect() by @rbygrave in #3162
- Add support for literal mode for InTuples with lots of entries by @rbygrave in #3165
- BUG: Include drop for foreign keys without index when dropping table by @jonasPoehler in #3164
- InTuples literal mode - don't cache ebean compiled query plan by @rob-bygrave in #3166
Full Changelog: 13.20.1...13.21.0