Releases: ebean-orm/ebean
Releases · ebean-orm/ebean
13.25.1
What's Changed
- Add read only database configuration/builder option by @rbygrave in #3266
- Refactor tidy internals of DbPrimary, DatabaseFactory, ContainerConfi… by @rbygrave in #3272
- Failing Tests with CustomerFindController by @nPraml in #3270
- #3269 - @JoinColumns set ForeignKey is none in ddl , but is not work by @rbygrave in #3273
- #3268 - @DbComment on @manytoone fields are ignored (ddl-generator) by @rbygrave in #3274
Full Changelog: 13.25.0...13.25.1
13.25.0
13.24.0
reason-for-version-bump
What's Changed
- Change loadMode to be 'safer' (for Grafana etc). e.g. change "(+lazy) " to "__lazy" by @rob-bygrave in #3259
- Bump ebean-migration to 13.11.1 (with fastMode option and index file support) by @rbygrave in #3260
- Improve the javadoc for deprecated methods (to assist IDE quick-fix actions) by @rbygrave in #3262
Full Changelog: 13.23.2...13.24.0
13.23.2
What's Changed
- Use querybean-generator via provided scope rather than maven compiler plugin by @rbygrave in #3252
- #3251 - QueryBeans: Entities can not have same name as some Ebean API… by @rbygrave in #3253
- Use DIST with query plan capture for Yugabyte plus simplify by @rbygrave in #3254
- Bump io.avaje:junit and bytebuddy version to support JDK 22+ by @rbygrave in #3255
- Upgrade ANTLR4 from version 4.8-1 to 4.13.1 by @rob-bygrave in #3256
Full Changelog: 13.23.1...13.23.2
13.23.1
What's Changed
- Remove the Deprecated(experimental) from StdOperators by @rbygrave in #3241
- Add missing dependency for ebean-postgis-types to ebean-postgis by @rbygrave in #3242
- Fix ebean-bom dependencies for ebean-test by @rbygrave in #3243
- Explicit annotation processors required with JDK 22 by @rbygrave in #3246
- Bump parent pom by @rbygrave in #3247
- Bump dependency for avaje-config to 3.9 by @rbygrave in #3248
- Support native-image via querybean-generator by @rbygrave in #3249
- Make Jackson a transitive dependency of ebean-jackson-mapper by @rbygrave in #3250
Full Changelog: 13.23.0...13.23.1
13.23.0
Reason-for-version-bump
- Rename ebean-postgis -> ebean-postgis-types + add new composite ebean… by @rbygrave in #3231
- Change SQL log to include executeBatch() via BatchedPstmt by @rbygrave in #3238
What's Changed
- Deprecate ServletContextListener (for shutdown in servlet container) by @rbygrave in #3230
- Add ebean-postgres-types to ebean-bom by @rbygrave in #3232
- In version 13.22 if the entity definition is in a different package, … by @rbygrave in #3236
- #3234 - Query Bean Generator Generates Non-Compilable Code When Entit… by @rbygrave in #3237
- OneToOne with SoftDelete join missing deleted predicate by @rbygrave in #3240
Full Changelog: 13.22.1...13.23.0
13.22.1
What's Changed
- #3216 - Fix querybean generation for @Embedded beans (fix for 13.22.0… by @rbygrave in #3220
- Move source to Jakarta (use ./jakarta-to-javax.sh) by @rbygrave in #3221
- Regression of #3133 with formula properties by @rPraml in #3223
- [jakarta] Use glassfish jaxb instead of old com.sun jaxb by @rPraml in #3224
- #3209 MetricsAsJson escape the SQL string content by @rbygrave in #3228
Full Changelog: 13.22.0...13.22.1
12.16.2
What's Changed
Full Changelog: ebean-parent-12.16.1...ebean-parent-12.16.2
13.22.0
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
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