Skip to content

Releases: ebean-orm/ebean

13.11.1

08 Jan 22:17
Compare
Choose a tag to compare

What's Changed

  • Fix memory leak with streaming queries with Id Embedded by @rbygrave in #2928
  • FIX: prepare FindMap query for proper bean cache / DB access by @rPraml in #2926
  • NEW: BeanCache for findSet by @rPraml in #2927
  • Ignore private/package private classes from CP-scan / FIX: Order of runServerConfigStartup by @rPraml in #2925

Full Changelog: ebean-parent-13.11.0...ebean-parent-13.11.1

13.11.0

08 Dec 21:05
Compare
Choose a tag to compare

reason-for-version-bump

  • #2907 - [DB2] Promote Db2SqlLimiter to be AnsiSqlRowsLimiter and move to ebean-api module

What's Changed

  • #2903 #2904 - Fixed mandatory LIMIT generation in case of firstRow>0 by @serg1236
  • #2866 - FIX: @Formula / @Where Annotations should also match on base platform by @rPraml
  • #2914 - Query bean generation support for @ElementCollection with validaiton annotations - NPE NullPointerException
  • #2906 - Refactor tidy SqlLimiter implementations
  • #2909 - [Hana] Replace HanaSqlLimitSqlLimiter with standard LimitOffsetSqlLimiter

New Contributors

Full Changelog: ebean-parent-13.10.2...ebean-parent-13.11.0

13.10.2

21 Nov 19:33
Compare
Choose a tag to compare

Issues

#2888 - DatabaseFactory.create() fails with java.lang.InstantiationError: io.ebean.bean.EntityBeanIntercept in multi-module gradle setup bug
#2889 - test entities don't get enhanced after upgrade to 13.6.5
#2893 -fix(sec): upgrade com.fasterxml.jackson.core:jackson-databind to 2.14.0
#2887 - Bug: Setting isolation level disables query cache
#2884 #2885 - Added platforms to BOM

Enhancements

#2894 - ENH: Lack of setNullParameter() functionality on io.ebean.DtoQuery interface
#2864 - ENH: Override service objects with DatabaseConfig.putServiceObject

13.10.1

02 Nov 11:48
Compare
Choose a tag to compare

Issues

#2880 - ADD encryption support for Between and InRange
#2872 #2774 - Locally encrypted properties can be used in "in" queries
#2861 - javax.persistence.PersistenceException: Database [null] was not found? when accessing OneToMany property bug
#2862 - Ebean 13.9.3 : org.postgresql.util.PSQLException: Cannot rollback when autoCommit is enabled
#2870 - FIX: Run CsvReaderTest also in german locale
#2869 - FIX: Add fallback for Ebean 11 Jsons
#2868 - FIX: toJsonNanos for calendar
#2867 - FIX: Flush transaction if it is modified in callback
#2863 - FIX: LogFormat for SystemLogger
#2854 #2859 - Possible memory leak with BackgroundExecutor using BackgroundExecutorWrapper ThreadLocals (for scheduled tasks)

Enhancements

#2847 - Add support for Sub-query EQ, NE, LT, LE, GT, GE expressions enhancement
#2875 - Query Beans: Add missing exists(subquery) and notExists(subquery) enhancement
#2876 - Query Beans: Add eq() e.g .billingAddress.city.eq(QCustomer.Alias.shippingAddress.city) enhancement
#2877 - Query Beans: Add lt, le, gt, ge e.g. whenRegistered.gt(QCustomer.Alias.whenActivated) enhancement
#2873 - Query Beans: Support more TQProperty's as target value for inRangeWith() enhancement

13.10.0

14 Oct 02:22
Compare
Choose a tag to compare

reason-for-version-bump

#2828 - Extract ebean-jackson-mapper module
#2826 - Extract ebean-jackson-jsonnode module - support for Jackson JsonNode (into separate module)
#2858 - ENH: Add experimental entity-field-access ... entities with public fields (no getters/setters/accessors required) enhancement
#2855 - @DBArray not allowing null to be persisted, stores empty list instead bug reason-for-version-bump

Issues

#2856 - @DBArray - improve bind logging, non-null arrays auto bind null to [] so improve bind logging to reflect that
#2857 - @DBArray - slight performance optimisation for empty array

13.9.3

13 Sep 23:41
Compare
Choose a tag to compare

Issues

#2833 - Fix PostgresPlatformProvider plaform sniffing query (Postgres vs Cockroach)
#2825 - DB Migration - create schema migration is repeated unnecessarily

13.9.2

05 Sep 07:25
Compare
Choose a tag to compare

Issues

#2823 #2824 - Revert JdbcTransaction.isActive() back to be non-final method
#2822 - FIX: DB2 migration: call reorg after drop not null
#2821 - Minor dependency bump for jackson, assertj-core, joda-time, h2database

13.9.1

01 Sep 21:45
Compare
Choose a tag to compare

Bugs

#2818 #2820 - Concurrent modification of listenerNotify list bug
#2814 #2815 - setNestedUseSavepoint act globally and not only for the current transaction level bug

Enhancements

#2819 - ENH: Add Transaction.rollbackAndContinue()

13.9.0

01 Sep 00:49
Compare
Choose a tag to compare

Major bug

#2813 #2816 - Sometimes subquery use wrong alias in SQL

reason-for-version-bump

#2457 #2810 - Move Joda time support into separate optional ebean-joda-time module
When using Joda time types please check the classpath to ensure that it contains the ebean-joda-time dependency.

<dependency>
  <groupId>io.ebean</groupId>
  <artifactId>ebean-joda-time</artifactId>
  <version>13.9.0</version>
</dependency>

#2805 - [breaking-api] Extract csv reader into it's own ebean-csv-reader module
When using the CsvReader please check the classpath to ensure that it contains the ebean-csv-reader dependency and look at the details of the change in #2805.

<dependency>
  <groupId>io.ebean</groupId>
  <artifactId>ebean-csv-reader</artifactId>
  <version>13.9.0</version>
</dependency>

#2801 - Remove the OnQueryOnly (rollback) feature
#2800 - Refactor database platform - remove unused tableExists() method, rename getters to accessors

Refactoring

#2812 - IntelliJ inspect various improvements
#2811 - Refactor method names SpiJsonReader and DocStore types
#2809 - Refactor move BasicTypeConverter to ebean-core-type module
#2808 - Refactor move package - server.type.DataBind to server.bind, server.text.json -> server.json
#2807 - Refactor move ScalarTypeBaseDate, ScalarTypeBaseDateTime, ScalarTypeBaseVarchar to ebean-core-type module
#2806 - Refactor ScalarType, remove convertFromMillis() method (no longer needed)
#2804 - Refactor move ScalarTypeBase + remove loadIgnore()
#2803 - Refactor ScalarType methods from getters to accessors
#2802 - Remove ScalarType.isDateTimeCapable() ... (only used by CSV reader)

13.8.1

24 Aug 23:59
Compare
Choose a tag to compare

Issues

#2799 - Remove unused DatabasePlatform.treatEmptyStringsAsNull
#2798 - SQL Anywhere: invalid escape character on like expression
#2649 #2797 - Migrate Ebean to use of JDK System.Logger (make SLF4J-API an optional dependency)
#2796 - Add missing final modifier on methods of query bean types