Skip to content

Releases: ebean-orm/ebean

13.22.0

30 Aug 10:55

Choose a tag to compare

Reason-for-version-bump

  • Add Query bean filterMany() taking a closure by @rbygrave in #3169
  • Follow up #3173 - Change BeanSet clear() with orphanRemoval to lazy load ALL properties (avoid 1+N) by @rbygrave in #3205

What's Changed

  • Remove extra space added to the generated SQL via the LIKE expression by @rbygrave in #3168
  • Refactor prefer char append by @rbygrave in #3170
  • FIX for filterMany with raw expression with single SQL query by @rbygrave in #3171
  • Add filterManyRaw() and Deprecate filterMany( ) by @rbygrave in #3172
  • Use char-append instead of String-append by @rPraml in #3174
  • For Lists.partition() fix for empty list input by @rbygrave in #3175
  • #3166 Remove InTuples literal mode by @rbygrave in #3177
  • BUG: Using a subquery with idEq or setId is missing the bind value by @jonasPoehler in #3180
  • Draft: Refactored delete-by-id by @rPraml in #3178
  • Experimental elliminate not in with too many params by @rPraml in #3179
  • When delete batching, use number of id properties by @rbygrave in #3182
  • #3183 - Fix for: Wrong limit using setMaxRows on delete between calls by @rbygrave in #3186
  • Update test only - TestDeleteCascadeById by @rbygrave in #3187
  • Bump to ebean-datasource 8.7 by @rbygrave in #3189
  • Refactor SpiEbeanServer to use SpiQuery by @rbygrave in #3190
  • #3188 Fix findFutureCount() when there is a current transaction in scope by @rbygrave in #3191
  • Refactor internal SpiEbeanServer API - transaction from SpiQuery by @rbygrave in #3192
  • Deprecate for removal Database.commitTransaction() and Database.rollb… by @rbygrave in #3195
  • Use ebean-parent as parent pom for composites and platforms by @rbygrave in #3196
  • Update ebean-agent to 13.22.0, required to support change in query bean generation by @rbygrave in #3197
  • #3173 - BeanSet lazy loading / Too many DataSource connections used by @rbygrave in #3203
  • Follow up #3173 - Add test for BeanSet clear() when hashCode/equals used by @rbygrave in #3204
  • Map.clear() on a @onetomany orphanRemoval=true invokes 1+N queries du… by @rbygrave in #3206

Full Changelog: 13.21.0...13.22.0

13.21.0

17 Aug 11:21

Choose a tag to compare

Reason for version bump

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

13.20.1

04 Jul 00:47

Choose a tag to compare

What's Changed

  • #3109 Fix for JtaTransactionManager when no active transaction by @rbygrave in #3122
  • Add InTuples expression for multi-column IN expression by @rbygrave in #3124
  • #3126 - Incorrect complex indexes generation by @rbygrave in #3127
  • Initial DB2Luw9Platform using row_number() for row limiting sql by @rbygrave in #3017
  • Add query.usingMaster() to explicitly choose master data source by @rbygrave in #3125

Full Changelog: 13.20.0...13.20.1

13.20.0

20 Jun 19:06

Choose a tag to compare

Reason-for-version-bump

  • DB specific length support in JSONs/Varchars/binary data by @rPraml in #3107

Also Changed

Full Changelog: 13.19.0...13.20.0

13.19.0

07 Jun 06:12

Choose a tag to compare

What's Changed

  • Fix javax-to-jakarta support for jakarta.transaction by @rbygrave in #3084
  • Moved - ebean-autotune, ebean-csv-reader, ebean-joda-time, ebean-jack… by @rbygrave in #3085
  • Remove unused and empty ebean-kotlin module by @rbygrave in #3086
  • Remove deprecated MetaInfoManager.collectMetricsAsJson() - move to co… by @rbygrave in #3087
  • Remove deprecated BeanFinder.server, migrate to BeanFinder.database by @rbygrave in #3089
  • Remove deprecated methods from ProfileLocation by @rbygrave in #3090
  • Remove deprecated DatabaseConfig.defaultOrderById by @rbygrave in #3091
  • Remove deprecated ExpressionList.setOrderBy() - migrate to orderBy() by @rbygrave in #3092
  • Remove deprecated Query setLoadBeanCache() - migrate to setBeanCacheMode() by @rbygrave in #3093
  • Remove deprecated Query Bean fetchAll() - migrate to fetch() by @rbygrave in #3094
  • No functional change, Expr internal reuse of factory() method by @rbygrave in #3095
  • Deprecate order() methods on Query, ExpressionList - migrate to orderBy() by @rbygrave in #3096
  • Refactor ebean-core internal API - getters -> accessors and tidy by @rbygrave in #3097
  • Refactor ebean-core internal API - getters -> accessors by @rbygrave in #3098

Full Changelog: 13.18.0...13.19.0

13.18.0

31 May 20:27

Choose a tag to compare

What's Changed

Full Changelog: 13.17.4...13.18.0

13.17.4

10 May 04:22

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 13.17.3...13.17.4

13.17.3

08 May 05:11

Choose a tag to compare

What's Changed

  • Modify MarkedAsDeleted to ignore beans added during load by @rbygrave in #3044

Full Changelog: 13.17.2...13.17.3

13.17.2

21 Apr 04:36

Choose a tag to compare

What's Changed

  • Bump avaje-config to version 3.1 by @rbygrave in #3029
  • #3033 - Fix for ConcurrentModificationException introduced in 13.17.1 by @rbygrave in #3034
  • Update MarkedAsDeleted logging to included check for loadingStarted by @rbygrave in #3035

Full Changelog: 13.17.1...13.17.2

13.17.1

17 Apr 11:53

Choose a tag to compare

What's Changed

  • Fix for #3024 NPE when lazy loading after deserialising an entity bean by @rbygrave in #3025
  • Add the [+query,+cache,+lazy] query type to the profile label by @rbygrave in #3023
  • Update the documentation for test tenants by @rvowles in #3027
  • Change MarkedAsDeleted to log batch before state by @rbygrave in #3028

Full Changelog: 13.17.0...13.17.1