ebean

Ebean ORM

APACHE-2.0 License

Stars
1.5K
Committers
104

Bot releases are visible (Hide)

ebean - 8.7.1

Published by rbygrave almost 8 years ago

Notes:

The change in #843 should be noted (default name "db" and defaultServer = true) as that could impact people programmatically creating EbeanServer instances (and subtly relying on defaultServer = false).

Issues:

#837 ENH: Support using @HistoryExclude on normal properties (other than @ManyToMany) enhancement

#845 Fix EQL parsing to support the 'inverse' form - e.g. where 'Rob' eq firstName (where the path is on the RHS rather than LHS)

#843 Change ServerConfig name to default to "db" (prior default was null) and defaultServer to true refactor

#842 For @DbJson map the type Map<String, ?> (using the wildcard) ... the same as Map<String, Object>

#841 Bugfix/softdelete calls wrong lifecycle method

ebean - 8.6.1

Published by rbygrave almost 8 years ago

Issues:

#198 ENH: Add support for Postgres GIS types such as Geometry

Notes: You also need the new ebean-posgis module. Add that to your classpath an Ebean will automatically registers those types which supports postgis and geolatte types for Point, Polygon, LineString, MultiPoint, MultiPolygon and MultiLineString.

ebean - 8.5.1

Published by rbygrave about 8 years ago

Notes:

#835 Is a significant bug for people using @SoftDelete

Issues:

#835 A query that includes a fetch() of a many that is @SoftDelete where all the rows are soft deleted returns incorrect results

#834 Oracle DDL for drop index and drop constraints incorrectly includes "if exits"

#832 Refactor: Change generated SQL to use "left join" rather than "left outer join"

ebean - 8.4.2

Published by rbygrave about 8 years ago

Issues:

#828 ENH: Add support for @PostConstruct (lifecycle method on entity beans)

#830 Add NamingConvention support to ManyToMany columns

#829 Remove outdated findPageList(int, int) javadocs

#831 EQL query language parser needs to throw exception on invalid query ... "find ..."

ebean - 8.4.1

Published by rbygrave about 8 years ago

Note:

com.avaje.ebean.config.dbplatform.DbPlatformName has been renamed to com.avaje.ebean.config.Platform

We need to make this rename/change in code that uses DbMigration.

Issues:

#821 CQueryIteratorSimple not working with consecutive calls to hasNext() - ie. without matching calls to next()

#826 Remove deprecated methods - migrate findRowCount() to findCount() & findFutureRowCount() to findFutureCount()

#824 Refactor com.avaje.ebean.config.dbplatform DbType & DbPlatformType

ebean - 8.3.1

Published by rbygrave about 8 years ago

Issues:

#822 EbeanServer.getBeanId(entity) does not trigger jdbc batch flush - when bean inserted with jdbc batch mode

#823 Remove deprecated API from PagedList

#820 - #718 Removed PagedList.getPageIndex() - Can it be added back?

ebean - 8.2.3

Published by rbygrave about 8 years ago

Issues:

#819 ADD: testcase for bug in @ManyToOne relations with enabled soft-deletes

#818 ExpressionPath setPath() ... does not set dirty state of property

#817 SqlRow getBoolean() does not treat numeric 1 value as true (with MySql and other DB's without native boolean type)

#816 Error saving circular relationships (when generated Id values)

ebean - 8.2.2

Published by rbygrave about 8 years ago

Enhancements:

#815 ENH: When loading ebean-autotune.xml also look in resources (if not found as file)

#814 ENH: multiple indices & meta-annotation support similar to spring-framework enhancement

ebean - 8.2.1

Published by rbygrave about 8 years ago

Main changes:

  • Adds query.findSingleAttributeList()
  • Restores query.findIterate()
  • Adds transaction.commitAndContinue()
  • Adds BeanState.resetForInsert()

Enhancements:

#811 ENH: Restore findIterate() as alternative to findEach / findEachWhile

#810 ENH: Add transaction.isRollbackOnly()

#808 ENH: Add Transaction commitAndContinue() ...

#805 ENH: Add BeanState.resetForInsert() ... This resets bean state such that a save() results in an insert

#125 ENH: Add support for query returning a List of single Attribute type - i.e. query findSingleAttributeList()

Issues:

#812 Remove deprecated includeSoftDeletes() ... migrate to setIncludeSoftDeletes()

#809 Add test / example showing ... transaction.setPersistCascade(false) and transaction.commitAndContinue(); documentation

#806 Deprecate OnQueryOnly.CLOSE ...

#807 Deprecate TransactionEventListener ... migrate to TransactionCallback

#804 Remove API - findMap(property, type) ... migrate to query.setMapKey() breaking-api

#803 Fix generics on findMap() to ... Map<K, T> findMap();

#802 Fix generics on findIds() - refactor internals of find ids to use find single attribute

ebean - 8.1.1

Published by rbygrave about 8 years ago

#801 Change maven groupId ... to org.avaje.ebean, artifactId to ebean

    <dependency>
      <groupId>org.avaje.ebean</groupId>
      <artifactId>ebean</artifactId>
      <version>8.1.1</version>
    </dependency>
ebean - 8.1.1

Published by rbygrave about 8 years ago

Notes:

This major version bump is primarily due to the transparent support of full JDBC batch via #798 which required changes to the enhancement (agent 8.1.1).

This Ebean 8.1.1 release supports older versions of the enhancement but without the 8.1.1 agent the transparent support of full JDBC batch will not work.

Enhancements:

#800 ENH: Add query.fetchQuery() and query.fetchLazy() ... as nicer alternatives to FetchConfig use

#798 ENH: Add support for transparent full JDBC batch. Via enhancement agent 8.1.1 intercept bean getter to automatically flush the JDBC batch buffer.

ebean - 7.21.2

Published by rbygrave about 8 years ago

Issues:

#799 Query.fetch(path) when converted to query join default to batchSize 10 rather than 100

#797 Add check for distinct query when adding id attribute to order clause in paging query

#792 Change Logging Rollback message on org.avaje.ebean.TXN from INFO level to DEBUG level

#793 com.avaje.ebean.event.changelog.BeanChange not keeping passed id value

#794 Refactor - tidy code, remove unused method arguments, unused imports refactor

ebean - 7.21.1

Published by rbygrave about 8 years ago

Issues:

#788 Deprecate findRowCount() ... add findCount(). Effectively renaming findRowCount() to findCount()

#790 DB Migration with multiple platforms (and no maven H2 dependency) gives: java.lang.NoClassDefFoundError: org/h2/api/Trigger

#789 findCount() ... with where raw(...) expression that includes a "many" produces incorrect SQL

Enhancements:

#791 ENH: Add transaction.setRollbackOnly() ... (and Ebean.setRollbackOnly())

ebean - 7.20.1

Published by rbygrave about 8 years ago

Issues:

#783 HistoryExclude Many-to-Many Query-Generation Error

#782 History Many-To-Many Lazy-Loads fail

#784 DDL DB Migration - Add @ManyToOne does not generate Foreign key and index ddl statements in migration script

#785 Bump avaje-classpath-scanner-api dependency to 2.2 for Windows fixes to classpath-scanner

Enhancements:

#786 Bump avaje-dbmigration to 1.2.1 ... which uses autoCommit true when running drop-all ddl

ebean - 7.19.1

Published by rbygrave over 8 years ago

Issues:

#780 Remove ServerConfig registerJmxMBeans ... as it is no longer used

#779 Refactor - Tidy internals of DefaultOrmQuery, remove unused String query property.

#775 Change DefaultBackgroundExecutor to use JDK cached thread pool (rather than configure min/max size etc)

#776 Remove ServerConfig.cacheWarmingDelay ... as it is no longer used

Enhancements:

#778 ENH: Add support for loading named queries from ebean.xml

#777 ENH: Add support for @NamedQuery and @NamedQueries

#773 Add 'EQL' Ebean query language parsing via ANTLR4, exposed via EbeanServer.createQuery(type, eql)

ebean - 7.18.1

Published by rbygrave over 8 years ago

Issues:

#772 DB Migration DDL - alter table add column ... needs type conversion when using multiple platforms. e.g. varchar(20) ... convert to varchar2(20) for Oracle

#771 DB Migration DDL when using multiple platforms ... destination into sub directories rather than file suffix

#770 DB Migration DDL generation run offline when using multiple platforms

#769 DB Migration DDL generation for UUID type when generating multiple platforms

#768 Query.setDisableLazyLoading(true) ... not disabling lazy loading on @ManyToOne reference bean

#767 Query.setDisableLazyLoading(true) ... not disabling lazy loading on @OneToMany

#766 RawSql should automatically map column alias with underscore to camelCase ... so item_total should automatically map to bean property itemTotal

#764 NPE on BeanDescriptorManager.processViewInvalidation(BeanDescriptorManager.java:385)

#763 Internal Code cleanup - remove redundant null checking etc

Enhancements:

#765 ENH: Add ebean.xml with support for named RawSql, also adds EbeanServer.createNamedQuery()

ebean - 7.17.1

Published by rbygrave over 8 years ago

Issues:

#762 Change H2 Platform to IDENTITY (from SEQUENCE) with version 1.4.192

#761 Change default for persistBatchOnCascade to be platform specific rather than NONE
(This effectively changes the default for persistBatchOnCascade to ALL for all DB platforms except for SQL Server which defaults to NONE)

ebean - 7.16.3

Published by rbygrave over 8 years ago

Issues:

#759 Use default value of 100 for JDBC buffer fetchSize for findEach() / findEachWhile() - Add global defaults ServerConfig jdbcFetchSizeFindEach, jdbcFetchSizeFindList

#758 DDL - @Index(unique=true) on field/property not creating unique index

Enhancements:

#760 Change @Transactional(batchSize=100) ... to imply batch mode (remove need to also specify batch=PersistBatch.ALL)

#757 Reduce logging of Commit message of org.avaje.ebean.TXN from INFO to DEBUG

ebean - 7.16.2

Published by rbygrave over 8 years ago

Issues:

#754 Logging output for bind log of UpdateQuery does not include bind values for set clause ...

#753 @History "as of" query errors when executed a second time - invalid bind parameter

ebean - 7.16.1

Published by rbygrave over 8 years ago

Issues:

#752 Refactor: SQL generation for @History support with Postgres, MySql (views/triggers based) such that it more closely aligns with SQL 2011 based SQL

#751 @History with @ManyToMany ... intersection table not getting associated history support

#747 @History findVersionsBetween query with Oracle has incorrect ordering