ebean

Ebean ORM

APACHE-2.0 License

Stars
1.5K
Committers
104

Bot releases are hidden (Show)

ebean - 13.14.1

Published by rbygrave over 1 year ago

What's Changed

Full Changelog: https://github.com/ebean-orm/ebean/compare/13.14.0...13.14.1

ebean - 13.14.0

Published by rbygrave over 1 year ago

Reason for version bump

Jakarta support

From version 13.14.0 we will release a Jakarta version of Ebean. Version 13.14.0-jakarta is in maven central and considered production ready. For details on how we are supporting Jakarta see: https://github.com/ebean-orm/ebean/discussions/2839

What's Changed

Full Changelog: https://github.com/ebean-orm/ebean/compare/13.13.2...13.14.0

ebean - 13.13.2

Published by rbygrave over 1 year ago

What's Changed

Full Changelog: https://github.com/ebean-orm/ebean/compare/13.13.1...13.13.2

ebean - 13.13.1

Published by rbygrave over 1 year ago

What's Changed

Full Changelog: https://github.com/ebean-orm/ebean/compare/ebean-parent-13.13.0...13.13.1

ebean - 13.13.0

Published by rbygrave over 1 year ago

reason-for-version-bump

#2968 #2969 - [ebean-test] - Default ebean.test.registerTestTenantProvider = false ... by default not auto register a test CurrentTenantProvider

#2881 - Add StdFunctions, StdExpressions, TQColumn marker interface
#2971 - Bump ebean-datasource to 8.5 - use connection.setSchema() rather than connection Properties
#2970 - Bump ebean-migration to 13.7.0 - DB2 uses logical lock due to reorg tables

Bugs

#2936 - BUG: Memory-leak on streaming queries when LoadBuffers are not aligned
#2942 #2967 - [ebean-joda] Joda JSON ISO8601 format for DateMidnight includes timezone bug
#2942 #2966 [ebean-joda] Joda LocalDateTime JSON parsing - DateTimeParseException when ScalarTypeJodaLocalDateTime parsing Json

Enhancements

#2849 - Query beans: UpdateQuery - Add support field aliases when updating, ie. set() methods using type properties
#2912 - Refactoring SpiLogger to better support conditional logging
#2957 - ENH: add statistics trimmedByGC/LRU/TTL/Idle to ServerCacheStatistics?

Full Changelog: https://github.com/ebean-orm/ebean/compare/ebean-parent-13.12.0...ebean-parent-13.13.0

ebean - 13.12.0

Published by rbygrave over 1 year ago

reason-for-version-bump

#2963 - [ebean-agent] By default enable @DbArray to be nullable and @Transient field initialisation when generating default constructors

What this change means is that unless a @DbArray is known to be non-null (via nullable=false or similar) the array will not be automatically initialised as it was before, we could get NPE exceptions if code is assuming that the array is always initialised.

To get the prior behaviour we should specify that the @DbArray is NOT NULL explicitly via @DbArray(nullable=false) or similar (Ebean @NotNull, Kotlin @NotNull, @Column(nullable=false).

Refer to: https://github.com/ebean-orm/ebean/issues/2855 for a full description of this change and why it has occurred.

Full Changelog: https://github.com/ebean-orm/ebean/compare/ebean-parent-13.11.4...ebean-parent-13.12.0

ebean - 13.11.4

Published by rbygrave over 1 year ago

What's Changed

New Contributors

Full Changelog: https://github.com/ebean-orm/ebean/compare/ebean-parent-13.11.3...ebean-parent-13.11.4

ebean - 13.11.3

Published by rbygrave over 1 year ago

What's Changed

Full Changelog: https://github.com/ebean-orm/ebean/compare/ebean-parent-13.11.2...ebean-parent-13.11.3

ebean - 13.11.2

Published by rbygrave over 1 year ago

What's Changed

New Contributors

Full Changelog: https://github.com/ebean-orm/ebean/compare/ebean-parent-13.11.1...ebean-parent-13.11.2

ebean - 13.11.1

Published by rbygrave almost 2 years ago

What's Changed

Full Changelog: https://github.com/ebean-orm/ebean/compare/ebean-parent-13.11.0...ebean-parent-13.11.1

ebean - 13.11.0

Published by rbygrave almost 2 years ago

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: https://github.com/ebean-orm/ebean/compare/ebean-parent-13.10.2...ebean-parent-13.11.0

ebean - 13.10.2

Published by rbygrave almost 2 years ago

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

ebean - 13.10.1

Published by rbygrave almost 2 years ago

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

ebean - 13.10.0

Published by rbygrave about 2 years ago

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

ebean - 13.9.3

Published by rbygrave about 2 years ago

Issues

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

ebean - 13.9.2

Published by rbygrave about 2 years ago

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

ebean - 13.9.1

Published by rbygrave about 2 years ago

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()

ebean - 13.9.0

Published by rbygrave about 2 years ago

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)

ebean - 13.8.1

Published by rbygrave about 2 years ago

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

ebean - 13.8.0

Published by rbygrave about 2 years ago

reason-for-version-bump

#2787 - Revert "Migrate to Jakarta JAXB (jakarta.xml.bind <- javax.xml.bind)"
dependencies

Issues

#2782 #2783 #2793 - Support MariaDB driver 3.x - Illegal fetch size, batched jdbc exception translation, SqlRow blob reading bug
#2788 - Unable to map _float4 Postgres type to @DbArray List Java type

#2784 #2785 - Correct documentation for TQRootBean.findSingleAttribute with @Nullable
#2786 - ebean version unknown. When running the springboot packaged application
#2794 - ebean-test-containers - Handle SQLServer specific occasional fail on start
#2791 - Refactor Just use String.intern() now that we are on min Java 11 runtime.
#2795 - Refactor rename internal methods - io.ebeaninternal.server.query
#2779 - Refactor rename internal methods for SpiQueryPlan and DbReadContext

Badges
Extracted from project README
Build Maven Central : ebean License Multi-JDK Build H2Database Postgres MySql MariaDB Oracle SqlServer DB2 LUW Yugabyte ebean EA datasource EA migration EA test-docker EA ebean-agent EA
Related Projects