ebean

Ebean ORM

APACHE-2.0 License

Stars
1.5K
Committers
104

Bot releases are visible (Hide)

ebean - 12.3.8

Published by rbygrave about 4 years ago

Issues:

#2048 - IllegalStateException: No query cache enabled on __. Need explicit @Cache(enableQueryCache=true) ... when ebean.disableL2Cache=true l2
#2044 - Using @AttributeOverrides breaking generated SQL (when override nullable and no column name)
#2047 - For #2038 - updated from 12.3.6 to 12.3.7 - NPE BeanDescriptor.findPropertyFromPath(BeanDescriptor.java:1965)
#2041 - Add STI Discrimination on Reference Associations
#2037 - Allow PostCommit transaction callback to recursively add another PostCommit callback bug

ebean - 12.3.7

Published by rbygrave over 4 years ago

Issues:

#2035 #2034 - lazy-loading soft-deleted list from lazy-loaded bean doesn't remember includeSoftDeletes
#2032 - Objects that occur in query is not filtered by @SoftDelete (when query has predicates on a ToMany path the associated soft delete predicates are not included) bug

Enhancements:

#2029 - ENH: Add database.getPlatform(); ... to obtain the underlying database platform being used enhancement

ebean - 12.3.6

Published by rbygrave over 4 years ago

#2027 - querybean generator support for @EbeanComponent

ebean - 12.3.5

Published by rbygrave over 4 years ago

Issues:

#2004 - MariaDb - add support for @History using their native SQL instead of triggers
#2026 - Postgres DDL - modify type generates wrong alter sql. Needs explicit cast / using clause.
#2028 - Refactor internals of smart persistence context to reference "parent" rather than copy beans (adjustment of #2021)
#2027 - ENH: querybean generator support for @EbeanComponent

ebean - 12.3.4

Published by rbygrave over 4 years ago

Issues:

#2023 - Initial support for MariaDb specific platform with @History support
#2024 - Change default "fetchBuffer" for findEach/iterate/stream queries to 100
#2025 - Make findStream & findLargeStream the same - deprecate findLargeStream
#2021 - Use smarter persistence context for findEach/iterate/stream queries - improve performance of un-tuned findEach/iterate/stream queries that invoke lazy loading
#2020 - Fix potential connection leak in query-iterator WITH lazyLoadBufferSize (Refer #1164)
#2006 - Auto register AttributeConverter with Ebean (using @Converter)

ebean - 12.3.3

Published by rbygrave over 4 years ago

Issues:

#2015 - Dto instance id fields are not populated when queried using DtoQuery (and no select clause is specified)
#2014 - IllegalArgumentException: No rule for io.ebeaninternal.dbmigration.migration.RenameColumn
#2016 - L2 Cache - missing puts with explicit bean cache + findByIds/keys + after transaction writes bug
#2012 - Change ExpressionList.orderBy(String) to return ExpressionList
#2011 - Change query.orderBy() to not be deprecated

Enhancements:

#2017 - ENH: Add option for different initialDelay to BackgroundExecutor.executePeriodically()

ebean - 12.3.2

Published by rbygrave over 4 years ago

Issues:

#2007 - Encrypted fields unable to be mapped when using DtoQuery
#2009 - Bump to ASM 8.0.1 in ebean-agent 12.3.2 (not barf on Java 14 record types)
#2005 - Mark Ebean as deprecated - migrate to io.ebean.Database (EbeanServer -> Database)
#2002 - Support maxRows with delete query
#2003 - Bump ebean-datasource to 4.9.2 with optional driver

ebean - 12.2.6

Published by rbygrave over 4 years ago

#1995 - ENH: Add DatabaseConfig.isLocalOnlyL2Cache() ... to support disabling l2 cache plugins

ebean - 12.2.5

Published by rbygrave over 4 years ago

#1995 - ENH: Add DatabaseConfig.isLocalOnlyL2Cache() ... to support disabling l2 cache plugins

ebean - 12.3.1

Published by rbygrave over 4 years ago

reason-for-version-bump

#1976 Change OraclePlatform to default to use Identity (rather than sequence)
#1993 Remove autoCommitMode and explicitTransactionBeginMode

issues

#2001 - ENH - Add convenient alternative to set read-only url (on the main DataSourceConfig)
#1996 - MySQLSyntaxErrorException when update in bulk using idIn() expression
#2000 - Tests only - bump sql server to 2019-GA-ubuntu-16.04
#1999 - Refactor read-only DataSource initialisation
#1998 - Refactor internals rename createQueryTransaction() to createReadOnlyTransaction()
#1997 - Modify @Transactional(readOnly=true) to use the read only DataSource behaviour change

ebean - 12.2.4.

Published by rbygrave over 4 years ago

Issues:

#1992 - IllegalArgumentException: Expecting only yaml or properties file but got [ort]
#1991 - NPE in MCompoundUniqueConstraint.(MCompoundUniqueConstraint.java:66)
#1990 - NPE with @Cache and setting naturalKey to null
#1988 - Removing elements with @OrderColumn with a tree depth > 1 doesn't work
#1987 - L1 cache was not invalidated, when reordering a reference with @OrderColumn
#1986 - @OrderColumn is ignored on relations referencing a abstract inheritance-model
#1985 - Update is missing for relations with @OrderColumn from a tree depth > 1 bug

ebean - 12.2.3

Published by rbygrave over 4 years ago

Issues:

#1982 conflict with eureka config generate StringIndexOutOfBoundsException with 12.2.1 version
#1980 NullPointerException in EntityBeanIntercept
#1981 Use temp variable to avoid NPE race bug

Enhancements:

#1984 ENH: Add DB.script() ... to access ScriptRunner from DB

ebean - 12.2.2

Published by rbygrave over 4 years ago

Issues:

#1980 - NullPointerException in EntityBeanIntercept
#1979 - @OrderColumn does not work on inheritance models bug
#1978 - "insert into table default values" is invalid MySQL syntax bug

ebean - 12.2.1

Published by rbygrave over 4 years ago

reason-for-version-bump

#1974 Turn on by default loadModuleInfo - aka auto register entity beans using query bean generated code behaviour change
#1971 Remove reading mapping annotations from "Getters" with associated refactoring for performance
#1972 Change BigDecimal to map by default DB type DECIMAL(16,3) rather than DECIMAL(38) behaviour change

Summary:

  • Some behaviour changes
  • Only reading mapping annotations from fields (no longer from getters)
  • API changes for FilterMany which typically will not need a code change but just a recompile
  • Split for Postgres platform to allow us PG 10+ DDL syntax for identity in particular
  • Oracle platform fixes

Ehancements

#1965 Support for @Identity - with cache, generated by (ALWAYS/BY DEFAULT), start, increment options

Bugs

#1973 L2Cache, Inheritance and Lazy-Loading loads the parent Class not the Child bug
#1950 #1951 OraclePlatform update (ANSI row limiting with OFFSET), Oracle11Platform for old behaviour behaviour change refactor
#1947 setMaxRows(1).findIds() under Oracle returns wrong result bug

Behaviour changes

#1974 Turn on by default loadModuleInfo - aka auto register entity beans using query bean generated code behaviour change
#1971 Remove reading mapping annotations from "Getters" with associated refactoring for performance
#1972 Change BigDecimal to map by default DB type DECIMAL(16,3) rather than DECIMAL(38) behaviour change

filterMany API changes

(These should only need a re-compile)
#1944 #1943 - Use limit & offset via setFirstRow() and setMaxRows() on filterMany() refactor
#1964 Ability to use order() on filterMany() (related to #1943) refactor

Deprecated API

#1969 Deprecate @CreatedTimestamp, @UpdatedTimestamp - migrate to @WhenCreated @WhenModified
#1968 Refactor rename Transaction methods - setBatchGetGeneratedKeys(), setBatchFlushOnMixed() setBatchFlushOnQuery() ... (remove the "batch" part) deprecated-api

Refactoring

#1967 Refactor internals reverse default columnAliasPrefix to null from "c"
#1962 Refactor simplify Postgres platforms to POSTGRES and POSTGRES9 refactor
#1961 Refactor PlatformDdl separate call to asIdentityColumn() refactor
#1960 CVEs - Update postgresql and h2 jdbc drivers (provided scope only)
#1959 #1953 - Do we need SqlServer2005Platform and SqlServer2005SqlLimiter?
#1957 #1955 #1956 SqlQuery.mapToScalar() and SqlQuery.mapTo(RowMapper) deprecated-api refactor
#1921 Split Postgres platform into Postgres10 & Postgres9 (DDL - generated by default as identity)
#1923 Remove io.ebean.meta.MetricType as it is unnecessary breaking-api
#1894 Refactor to use avaje config refactor

ebean - 12.1.13

Published by rbygrave over 4 years ago

Issues:

#1954 - Add JSON expression handing for MySql - MySqlDbExpression.json bug
#1952 - Entity bean with @Id and ONLY @WhenCreated treated as reference bean - not inserted bug
#1949 - Test only - usingDatabase with a non default db
#1941 - @History with SQL Server - does not work well when it got generated with ebean.allQuotedIdentifiers enabled
#1946 - Deprecate orderBy() migrate to order() deprecated-api
#1937 - When add a new col with @DbComment in Entity,the DbMigration does not generate comment ddl
#1942 - Bump datasource to 4.7.3, includes - datasource.offline() closes busy connections ... should let them close on return
#1939 #1938 - API consistency add setParameters(varargs) & setParameter() - migrate from setNextParameter() and setParams()

Enhancements:

#1948 - ENH: Add query.usingDatabase(database) enhancement
#1945 - ENH: Add query.orderById(boolean) to ExpressionList ... improve fluid style enhancement

ebean - 12.1.12

Published by rbygrave over 4 years ago

Issues:

#1924 Refactor for Transaction profiling - base on ProfileLocation / remove profileId refactor
#1932 Refactor ebean-test (docker) for better CI use (e.g. Jenkins Kubernetes plugin) refactor
#1925 #1924 - Refactor for Transaction profiling - base on ProfileLocation / remove profileId refactor
#1930 Refactor changed ip.ebeaninternal.api.SpiQuery to io.ebean.Query in Server.exists refactor
#1928 FIX: Regression of #1775 - set date for other platforms (non MySQL) broken, when ebean.dataTimeZone is set to GMT
#1927 Fix cache emptylist and Fix / improvement for UUIDv1Generator mac address detection bug
#1926 Fix to handle empty bind collection for idIn() expression

Enhancements:

#1936 ENH: Add saveAll(Object... beans) ... using varargs for DB and Database enhancement
#1935 ENH: Add DB.createTransaction()
#1934 ENH: Add methods to Model that take explicit transaction - save(transaction), delete(transaction) ...
#1933 ENH: Add DtoQuery.usingTransaction(Transaction) ... dto query with supplied transaction

ebean - 12.1.11

Published by rbygrave over 4 years ago

Issues:

#1922 Performance - Too pessimistic synchronized block for lazy loading on reference bean or l2 cache bean bug

Enhancements:

#1920 ENH: Add support for Postgres create index concurrently enhancement

ebean - 12.1.10

Published by rbygrave over 4 years ago

Issues:

#1918 Ebean 12.1.9 breaks Guice in Stage.PRODUCTION mode for multi tenant apps bug
#1915 Regression with DiscriminatorValue since #1361
#1917 PostgresPlatform (9+) does not support IdType.IDENTITY? bug
#1914 ENH: Support @Index platforms attribute - platform specific indexes enhancement
#1913 Change to use @Aggregation as meta annotation - support newly added @Max, @Min, @Avg annotations enhancement
#1912 Allow @Index(unique=true) to support formula in columns bug

ebean - 12.1.9

Published by rbygrave almost 5 years ago

Issues:

#1910 Change javadoc generation to no longer use pygments doclet (code highlighting)
#1909 For MySql map @DbJson to mysql JSON db type bug
#1908 Testcase for #1902 bug
#1907 SQL Server DB Migration for uuid property @NotNull - should drop index before drop constraint bug
#1904 Bump datasource to 4.7.1
#1903 Add ability to set migration path via DbMigration enhancement
#1902 SingleAttributeQueries with child selection only does not work with autoTune=false (e.g. Views)
#1900 Refactor remove unnecessary MetricType
#1899 Refactor for query plan capture with initial threshold micros refactor
#1898 #1897 - Indexes names, like index, unique, primary and foreign keys does not honor ebean.allQuotedIdentifiers bug
#1897 Indexes names, like index, unique, primary and foreign keys does not honor ebean.allQuotedIdentifiers
#1896 ebean.allQuotedIdentifiers is ignored for @JoinColumn bug
#1895 Ebean creates invalid sql for particular @ManyToOne bug

ebean - 12.1.8

Published by rbygrave almost 5 years ago

Issues:

#1893 @DbArray with @NotNull ... should persist empty db array rather than fail NOT NULL constraint bug
#1892 Refactor change internal use of Ebean to DB
#1890 Deprecate createSqlUpdate() ... migrate to sqlUpdate()
#1891 Deprecate createSqlQuery() ... migrate to sqlQuery()
#1885 ENH: Add ModuleInfoLoader ... to support automatic registration of entity classes (via generated code using querybean generator)
#1886 Query bean generator enhanced to generate META-INF/ebean-generated-info.mf (such that we don't need ebean.mf)
#1888 Bump ebean-migration 12.1.2 with updated avaje classpath scanner
#1889 NPE at Str.java:16) when using DB.sqlUpdate(...).addBatch() without any bind parameters bug