ebean

Ebean ORM

APACHE-2.0 License

Stars
1.5K
Committers
104

Bot releases are hidden (Show)

ebean - 7.1.1

Published by rbygrave over 8 years ago

Notes:

This version includes general support for integration to document stores with ElasticSearch being the primary target.

Issues:

#579 Postgres History DDL - Revert of #544 such that Postgres @History DB trigger uses current_timestamp (transaction start time)

#578 Deprecated Joda Time API - LocalDate.toDateMidnight() usage causes exception to be thrown, change to LocalDate.toDateTimeAtStartOfDay()

#577 Ebean.json().toBean() ... does not de-duplicate instances when JSON contains the same logical bean multiple times

#576 DateTimeJsonParser error when date time has no millisecond precision -java.text.ParseException: Unparseable date: "2016-02-28T20:39:00Z"

#575 Refactor PathProperties, extract FetchPath interface, rename get(path) -> getProperties(path)

#574 Refactor - rename .plugin objects; SpiBeanType -> BeanType and SpiServerPlugin -> Plugin

#573 Remove Serializable from Query interface

#546 ElasticSearch - For partial updates with update generated values (@WhenModified) and when that property we want to include that in the update message to ElasticSearch

Enhancements:

#304 ElasticSearch Integration - part 1 - updating indexes

ebean - 6.18.1

Published by rbygrave over 8 years ago

Notes:

If you are using Joda LocalTime you will now need to choose between 'utc' and 'normal' mode. See #420

Issues:

#566 Refactor internals - SpiExpression, add prepareExpression() to merge queryAutoTuneHash() and queryPlanHash()

#552 wrong DDL generation with complex columnDefinition

#420 Review JodaLocalTime (being stored and fetched using UTC) .... now must choose ServerConfig.jodaLocalTimeMode of 'normal' or 'utc' bug

ebean - 6.17.3

Published by rbygrave over 8 years ago

Issues:

#565 Query plan hash collision on firstRow/maxRows combinations

#462 When fetching, collections can get populated with too many entities

ebean - 6.17.2

Published by rbygrave over 8 years ago

Issues:

#564 DDL DB Migration - migration generation on history table, pending drop columns missing in the history view and tigger

#563 ENH: DDL DB Migration - add a suppressDropsForever="true" attribute such that drops we never want to run are not warned on and can't be selected for a migration.

#561 DDL DB Migration - change "ddl.migration.pendingDrop" to "ddl.migration.pendingDropsFor"

ebean - 6.17.1

Published by rbygrave over 8 years ago

Issues:

#559 DDL - DB Migration refactor - remove rollback.ddl generation (ultimately not used by FlywayDb etc)

#558 Internal refactor - MTable pending dropped columns

#557 DDL - DB Migration refactor - remove drop.ddl and use pendingDrops.

These changes are considered breaking API in the sense that they remove some of the configuration of DBMigrationConfig, migration xml changeSet of "drop" is now "pendingDrops", and drop ddl and rollback ddl are no longer generated.

ebean - 6.16.5

Published by rbygrave over 8 years ago

Issues:

#556 DDL - DB Migration for History - change treatment of dropped columns such that they are still included in apply script

#554 DDL - DB Migration with @History and Postgres - views need to be dropped early to support migration changes

Enhancements:

#555 Use a common timestamp value for @WhenCreated and @WhenModified

ebean - 6.16.4

Published by rbygrave over 8 years ago

Issues:

#553 DDL - DB Migration with @History and Postgres needs to re-create the "with_history" view when columns dropped

#551 DDL - DB Migration with @History and @Draftable - @DraftOnly columns added when not part of change

ebean - 6.16.3

Published by rbygrave over 8 years ago

Issues:

#549 Regression: ArrayIndexOutOfBoundsException when lazy loading on bean with inheritance

Enhancements:

#550 - ENH: Add generated file warning to DB migration XML files

ebean - 6.16.2

Published by rbygrave over 8 years ago

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

ebean - 6.16.1

Published by rbygrave almost 9 years ago

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

ebean - 6.15.2

Published by rbygrave almost 9 years ago

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

ebean - 6.15.1

Published by rbygrave almost 9 years ago

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.

ebean - 6.14.1

Published by rbygrave almost 9 years ago

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

ebean - 6.13.5

Published by rbygrave almost 9 years ago

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

ebean - 6.13.4

Published by rbygrave almost 9 years ago

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

ebean - 6.13.3

Published by rbygrave almost 9 years ago

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.

ebean - 6.13.2

Published by rbygrave almost 9 years ago

Issues:

#484 JDBC4+ drivers do not need Class.forName() registration - removing that call

#480 @History trigger on @Draftable does not exclude the @DraftOnly and @DraftDirty properties - ERROR: column "dirty" of relation "link_history" does not exist Where: PL/pgSQL function link_history_version()

#479 Insert of @Draftable with getGeneratedKeys ... PersistenceException executing insert

#477 findUnique() should throw NonUniqueResultException and not PersistenceException

Enhancements:

#483 ENH: Draftable - Add FK from live table back to draft table (for top level @Draftable tables)

#482 ENH: @Draftable - Save or update is not allowed on a 'live' bean - only draft beans ... add this check when @Draft property is used

#481 ENH: @Draftable ... add support for transient @Draft boolean draft; property ... used to distinguish a 'live' instance from a 'draft' instance.

#476 ENH: Enable ServiceConfig to use alternate ClassLoader - was ServiceConfig add setClassloader api

ebean - 6.13.1

Published by rbygrave almost 9 years ago

Enhancements:

#118 ENH: Add support for for Soft Deletes (Logical Deletion) ...

ebean - 6.12.3

Published by rbygrave almost 9 years ago

Issues:

#475 Unique constraint name not unique when using @Draftable

ebean - 6.12.2

Published by rbygrave almost 9 years ago

Issues:

#472 - DDL column ordering for @WhoCreated / @WhoModified. These columns should appear in the DDL with the @WhenCreated/@WhenModified columns.