ebean

Ebean ORM

APACHE-2.0 License

Stars
1.5K
Committers
104

Bot releases are visible (Hide)

ebean - 10.3.2

Published by rbygrave over 7 years ago

Issues:

#963 NullPointerException on no version provided (when setVersion(null) is used) bug
#1046 Bump DB migration to 10.1.9 - fix for Checksum mismatch does not stop migration bug
#1045 MySql - DbMigration generate wrong comment syntax - should be alter table comment = syntax bug
#1043 RawSql should automatically map upper-case column alias to lower-case bean property bug
#1040 Entity update is not possible on partially L2 cached entity (after trigger a lazy load on a related entity) bug
#1039 Step to reproduce reset of dirty flag on L2 cached entities after lazy load
#1044 #1043 Fix. RawSql should automatically map upper-case column alias to lower-case bean property bug
#1032 no effective code change - fixed warnings about serialization, override, raw-types refactor
#1033 ENH: Changed idIn(List) to idIn(Collection) breaking-api refactor
#1035 FIX: deleting and adding same bean in beanCollection leads to deletion in DB
#1042 JtaTransaction is TenantMode.DB aware
#1031 FIX: correct behavior of "startsWith, "contains" etc with escaping of special characters bug
#1034 Pr/id in as collection2 refactor
#1041 [ModifyAware] Noticed that this boolean parameter was ignored.

ebean - 10.3.1

Published by rbygrave over 7 years ago

Issues:

#981 Use composed key in multi tenant environment instead a cache per tenant
#996 Add API findOne() and findOneOrEmpty() which returns Optional

#1029 Variables create but only used after a potential return/throw
#1028 For debug and trace levels, either added isEnabled check or made arguments parameterized.
#955 Migration "add column" DDL with check constraint is missing constraint name
#1011 Create valid migration scripts for non-Postgres databases and @DbArray columns.
#999 @DiscriminatorColumn columnDefinition is ignored for DDL generation
#1004 Ebean migrations can not be executed if they contain ';' into a string
#1024 ADD: Testcases for "fetchDistinct"
#946 Treat primitive numbers (long, int, short, float, double) as NOT NULL wrt DDL generation

ebean - 10.2.3

Published by rbygrave over 7 years ago

Issues:

#1020 Using discriminator inheritance with query cache fail
#1023 Bug with findSingleAttributeList() when used against @ManyToOne / foreign key
#1019 Replaced Tail Recursion while while/true loops.
#1021 Added test to demonstrate Discriminator query cache error

ebean - 10.2.2

Published by rbygrave over 7 years ago

Issues:

#1015 Fix/select distinct cascaded fetch with findSingleAttributeList() on associated property path
#1016 Fix and blank space after 1=1 (Noop expression for equals null with @SoftDelete)
#1012 Filtering by embedded value in a joined table does not create sql join
#1013 #1012 - Filtering on embedded values in a joined table does not create a sql join
#1017 Once again, Static code analysis
#947 Treat primitive boolean as NOT NULL - DDL as not null
#1008 Java language level updates concerning Maps.
#1007 Some changes that are possible in Java language level 7 and 8.
#1006 Small changes for ArrayStack.
#988 Wrong alter table / alter column DDL was generated
#998 Moving defaultservercache implementation to use nanoseconds
#1002 Bump ebean-dbmigration to 10.1.6 (better support for schema & sql server)

Enhancements:

#987 Added multi tenant catalog support.
#1001 Add @Length and @NotNull, (plus move @Transactional to ebean-annotation)

ebean - 10.2.1

Published by rbygrave over 7 years ago

Issues:

#992 API Change - Change Transaction.close() to throw PersistenceException rather than IOException
#990 Wrong cast to query and child Id problem fix

Enhancements:

#993 ENH: Add flush() to EbeanServer and Model to make it more accessible than the current transaction.flushBatch()
#991 ENH: Add forUpdateNoWait() and forUpdateSkipLocked() options ... for Postgres and Oracle
#989 ENH: Support @DbArray with Set ... (addition to the existing List support)
#528 ENH: Improve exception handling such that more specific types of exceptions can be detected such as constraint violation

ebean - 10.1.7

Published by rbygrave over 7 years ago

Issues:

#985 IllegalArgumentException when using @DbArray of type List with @ChangeLog
#986 Warning suppressions.
#982 Fix multi tenant bean change
#974 FIX: do not hit database if inherited entity has no children
#979 FIX: potential NPE
#978 no effective code change: add some try-with resources
#975 add missing @override refactor
#923 Pass dataType to DataBind for Types.OTHER
#976 Simple fixes refactor
#970 FOR UPDATE queries are not honored when beans are already cached
#966 ENH: Add serverConfig.setDbOffline(true) ... for creating new EbeanServer without a DataSource (for DbMigration typically) enhancement
#973 Refactor - Tidy internals of DefaultBeanLoader refactor

Enhancements:

#984 ENH: DocumentStore API - add RawDoc with findEach() and findEachWhile()
#983 ENH: Add credentials configuration support for document store (like basic auth for ElasticSearch)

ebean - 10.1.6

Published by rbygrave over 7 years ago

Issues:

#965 Wrong query when using @SoftDelete bug
#960 Incorrect query when using '.betweenProperties' with '@SoftDelete'
#968 Refactor - Update ANTLR 4 generated code to 4.6 refactor
#958 removed duplicate StringHelper refactor
#957 Javadoc update only documentation
#956 Bump dependencies - avaje-datasource and ebean-dbmigration

Enhancements:

#969 ENH: Add Finder.query(String ormQuery) ... helper method
#967 ENH: Add DocStoreConfig.setAllowAllCertificates(true) ...

ebean - 10.1.5

Published by rbygrave almost 8 years ago

Issues:

#945 Invalid SQL when using @Aggregation with a fetch() to a ManyToOne - missing columns in GROUP BY

#944 Incorrect join (should be outer join) when predicate only path traverses an optional relationship to a mandatory relationship

#941 @Transactional( type = TxType.MANDATORY ) creates a new transaction even if there is one available

#943 Refactor internals - Performance tweak / tidy for WhoCreated, WhoModified on OneToMany connections.

Enhancements:

#942 WhoCreated, WhoModified on OneToMany connections.

ebean - 10.1.4

Published by rbygrave almost 8 years ago

Issues:

#940 Allow findNative to use @Formula properties (add test for MySql := use with RawSql and findNative) bug

#939 Make ModifyAwareSet serializable ... (for serializable entity beans with @DbJson etc) bug

#937 MigrationXmlWriter adds DOCTYPE to xml

#936 Upgrade provided dependencies

#935 Upgrade test dependencies

#934 Upgrade antlr4-runtime to prior version 4.6

#932 SQL Server boolean mapping fix

ebean - 10.1.3

Published by rbygrave almost 8 years ago

Issues:

#931 Refactor internals - DefaultTypeManager ...

#930 Refactor (renames etc) for SQL Server History support

#929 SqlServer 2016 history support.

#928 Pom - change over to io.ebean persistence-api from org.avaje.ebean one.

#927 Pom - bump ebean-dbmigration to 10.1.2

#926 Pom - bump avaje-datasource to 1.1.4

ebean - 10.1.2

Published by rbygrave almost 8 years ago

Issues:

#925 Change generated SQL for H2, Postgres and MySql to not use column alias' refactor

#900 Error - Can't fetch JsonDB field - org.postgresql.util.PSQLException: ERROR: could not identify an equality operator for type json

#924 Bump ebean-dbmigration dependency to 10.1.1 (sql server fix)

#922 NPE Issue with ebean-elastic and multi-tenant Ebean ... NPE at DLoadContext line 96

#921 Refactor internals - Change internal use of "findRowCount" to "findCount"

ebean - 10.1.1

Published by rbygrave almost 8 years ago

io.ebean package change

This release changes the package to io.ebean. This means the enhancement agent, maven plugins etc all where also updated and released (as 10.1.1)

Issues:

#920 Change logger package to io.ebean (e.g. for logging SQL instead of org.avaje.ebean.SQL use io.ebean.SQL)

#919 Change package to io.ebean (from com.avaje.ebean and org.avaje.ebean)

ebean - 9.5.1

Published by rbygrave almost 8 years ago

Issues:

#918 Remove DbMigrationConfig.generateOnStart() ... migrate to offline generation

#917 ENH: Add findNative() ... ala automatic mapping of native SQL into object graphs / paths.

#916 Refactor internals - bump use of 31 in hashes to 92821

#915 Refactor internals - Change update plan to string key

ebean - 9.4.2

Published by rbygrave almost 8 years ago

Issues:

#914 Fix multi-tenancy support such that it automatically propagates the tenantId for lazy loading

#913 IllegalArgumentException: No enum constant com.avaje.ebean.config.Platform.HSQLDB

ebean - 9.4.1

Published by rbygrave almost 8 years ago

Issues:

#912 Refactor - move platform specfic code into subpackages

#910 SQL Server update - rename to SqlServerPlatform, add ANSI based row limiter (2012+)

#911 SQL Server - remove old MsSqlServer2000Platform (expecting users migrated to SQL Server 2005+)

#909 @Lob with @Size ... produces incorrect DDL for Postgres

#908 Remove support for Immutable Compound Values

#907 Remove Model.Finder ... migrate to Finder

#906 Add NamingConvention Support for JoinColumn (OneToMany, ManyToOne) - was PR #887 bug

ebean - 9.3.1

Published by rbygrave almost 8 years ago

Issues:

#903 Refactor: Internals, BeanPropertyAccess getter and setter methods can be cached and don't need constructor

#902 EJsonWriter.write(Object object, Writer writer) ... closes the writer but should not

#897 Remove @EmbeddedColumns ... replace with @Embedded(prefix="...")

#895 Refactor: Remove unnecessary coalesce on soft delete (as predicate on left join etc)

#892 Refactor: Replace Ebean's QueryEachWhileConsumer with java.util.function.Predicate

#891 Refactor: Replace Ebean's QueryEachConsumer with java.util.function.Consumer

#883 Soft-delete when using fetch (not including soft deleted children)

#889 Refactor: Change @Where @Formula to use Platform (enum) rather than DatabasePlatform (class)

Enhancements:

#904 ENH: Add @PreSoftDelete @PostSoftDelete ... such that methods on beans can be used for these callbacks

#493 ENH: Multi-tenant support via database schema (database schema per tenant)

#901 ENH: Use "db" as default EbeanServer name

#882 ENH: Support document store only use (ie. Use @DocStore without @Entity and persist, fetch only against ElasticSearch with no SQL DB)

#899 ENH: Add @UnmappedJson support ... (mostly for document store only use / ElasticSearch)

#827 ENH: Add support for AttributeConverter from JPA 2.1

#896 ENH: Bump persistence API 2.1.2 with @Repeatable annotations (most notably, @AttributeOverride and @JoinColumn)

#893 ENH: Move to persistence API version 2.1.1

#894 ENH: Add support for @OneToMany orphanRemoval = true (which is the same as @PrivateOwned)

#888 ENH: Move Ebean annotations into a separate module enhancement

#884 ENH: Wildcard embedded columns

#847 platform dependent @Formula and @Where annotations

ebean - 9.2.1

Published by rbygrave almost 8 years ago

Notes:

Due to #881 this release breaks compatibility with ebean-elastic version 1.3.2 and instead ebean-elastic 1.4.1+ needs to be used. This change is required to support the changes in ElasticSearch 5.0.0

Issues:

#881 Split DocPropertyType.STRING into KEYWORD and TEXT ... for ElasticSearch 5.x support breaking-api

#879 Ebean not fetching complete list of attribute beans when equals(Object o) is implemented

#849 AbstractNamingConvention.getTableName inheritance logic differs from InheritInfo

#874 ENH: Add inheritance support for @Formula with @ManyToOne

ebean - 9.1.2

Published by rbygrave almost 8 years ago

Issues:

#878 @AttributeOverride (not wrapped in @AttributeOverrides) is not applied

#877 DBMigration Generates wrong ddl for UUID type

#876 Batching exception safety: Fix test

#875 Changes to support ElasticSearch 5.x

#859 Adding .editorconfig file

#873 Batching exception safety

#870 Replace "for" with "foreach"

ebean - 9.1.1

Published by rbygrave almost 8 years ago

Notes - Move to Java 8

With this 9.1.1 release Ebean now requires Java 8.

Issues:

#869 Clash on bind hash value for query cache with consecutive values of "01","20" and "02", "10"

#866 Fix RawSql mapping such that it automatically maps foreign key columns

#863 @Enumerated(EnumType.STRING) DayOfWeek day; ... incorrectly maps to SQL Integer type

#862 ENH: Change ServerConfig such that if H2 is the DataSource/DatabasePlatform then automatically it sets up for testing (ddl generation)

#855 Fix @Aggregation lazy loading and base select issue

#852 javax.persistence.PersistenceException: No ScalarType registered for class Foo$1 ... where Foo is an Enum where individual instances override a method (example below).

#99 ENH (419) : Simplify aggregation queries

Refactoring:

#868 Use "Collection.addAll(...)" rather than manually copying arrays
#864 Remove redundant local variables
#860 Replace anonymous classes with lambda expressions
#861 Remove redundant "public" modifier for interface methods
#858 Deprecated API usage - Modify ScalarTypeJodaLocalTime to use toDateTimeToday().getMillis()
#854 Replace explicit type with <>
#857 Remove unnecessary boxing and unboxing
#856 Change identical 'catch' statements
#853 Javadoc error
#850 Migrate to Java 8 as a requirement (for Ebean 9.x)
#851 FIX some java warnings / rawtypes

ebean - 8.8.1

Published by rbygrave almost 8 years ago

Issues:

#836 ENH: Add support for @DbArray even for H2 db

#846 Add soft delete related callbacks breaking-api

#99 ENH (419) : Simplify aggregation queries