Releases: ebean-orm/ebean
6.16.4
6.16.3
6.16.2
Issues:
#544 Postgres @history DB trigger using current_timestamp (transaction) and should instead use statement_timestamp()
#543 Tidy up test logging - adjust test LoggedSqlCollector
#537 Change PersistenceException: Mapping limitation on @joincolumn such that it includes the bean type
#535 Bean lazy loading can execute an extra query when one of the lazy loaded beans has been deleted
#534 REFACTOR: Internals for lazy loading specifically improving errors/logging in cases of lazy load errors due to deletes
Enhancements:
#545 ENH: Read environment variable "EBEAN_DB" to set default datasource - typically for CI builds
6.16.1
Issues:
#533 DDL - Invalid foreign key constraint name for @manytomany when using explicit schema in @table
#532 Change example expression such that it supports nested beans
#530 Bad join with raw() expression on a @manytomany path.
#529 @OnetoOne with @joincolumn to non primary key throws Data conversion error
Enhancement / Config API change:
#531 AutoTune - On shutdown provide ability to saving profiling without garbage collection
6.15.2
Issues:
#527 @orderby on child-of-child property
#526 findPagedList with @EmbeddedId broken - automatically adds orderby t0.null
#524 ExplicitJdbcTransaction leaves dangling “begin”
#502 jsonContext.toJson(o, generator, path) can not apply path on @transient field that is an entity bean
Enhancements:
#525 Automatic autotune data
6.15.1
Issues:
#520 SPI - Deprecate SpiEbeanPlugin in favor of SpiServerPlugin
#518 Refactor: Remove getDdlGenerator() from SpiEbeanServer.
#517 Refactor DdlGenerator such that it is not an SpiEbeanPlugin
#516 DdlParser for seed and init sql is not ignoring sql comment lines (starting with --)
#508 Upgrading to 6.13.5 causes "No suitable driver found for jdbc:mysql" error
Enhancements:
#515 ENH: Add ebean.ddl.seedSql=xxx.sql ... such that a sql script will execute to insert seed data typically for testing
#514 ENH: Add ebean.ddl.createOnly=true ... such that all the drop table statements are skipped (for running tests against H2 usually)
#246 ENH: Add ebean.ddl.initsql=.... to support executing a sql script prior to running the create all DDL - was - When the scripts generates the evolution, it should generate the create schema too.
6.14.1
Issues:
#511 PagedList getTotalRowCount() includes soft deleted rows in its count
#510 Added support for custom database functions that have multiple arguments
#509 ExpressList.notIn method does not work
#506 Changes to DB Migration, support run on startup and external version numbering refactor
#505 Remove unused method - EntityBean._ebean_createCopy();
#504 @draft treated as transient such that it doesn't invoke lazy loading in 4.8.1 enhancement agent
#503 @DraftDirty should be marked as not null automatically
Enhancements:
#507 PropertiesWrapper support null enum values with getEnum()
#500 Change raw(String, Object[]) expression to varargs raw(String, Object...)
6.13.5
Issues:
#499 DDL issue for entity bean that is both @draftable with @history - draft only columns included in history table
#498 @draftable - lazy loading after stateless update results in - EntityNotFoundException: Bean not found during lazy load or refresh
#496 @EnumValue is being trimmed, may result in unexpected behaviour with CHAR columns for some database systems
6.13.4
Issues:
#492 MS Sql Server DDL - Fix for drop constraint syntax (remove extra IF EXISTS) and ignore table and column comments
#491 RawSqlParser doesn't seem to understand new lines directly after the SELECT keyword
#247 @AttributeOverride at class level not read - was: @AttributeOverride annotation does not seem to work (Play 2.2.0 - ebean 3.2.2)
Enhancements:
#494 ENH: Support findPagingList() ... that uses firstRow & maxRows (rather than pageIndex, pageSize)
#365 ENH: Add @DbComment with DDL generation of table and column comments
6.13.3
Issues:
#490 Invalid SQL for generating ID from sequence on DB2
#489 @draftable - insert does not set 'draft' to true ... so subsequent update fails
#488 BeanPropertyAssocManyJsonHelp error when Jackson not in classPath
#487 DDL - @softdelete deleted column should have NOT NULL constraint in create table DDL
#486 Postgres DDL - Add "if exists" to alter table [if exists] drop constraint if exists ....
#485 @softdelete with join to nullable relation (optional @manytoone for example) ... will incorrectly filter out row from result when FK value is null.