Releases: ebean-orm/ebean
4.5.5
Note that the 'fix' for #236 is a change to the DDL that Ebean generates for MySql (for datetime).
ISSUES
#245 Adds support to multiple methods as event listeners enhancement
#244 Support more than one method annotated as event listeners enhancement
#242 ebean.classpathreader is not initialized from ebean.properties bug
#241 Exceptions in events are swallowed bug
#236 OptimisticLockException when saving a model the second time with joda DateTime and mysql 5.6 bug
4.5.4
ISSUES:
#240 Add support for using Joda LocalDateTime and DateTime with @CreatedTimestamp, @UpdatedTimestamp
#237 find method is returning old entity rather than updated entity in some situations. [OR] Stateless updates should clear persistence context once executed.
#235 Stored procedures not commited
#232 New ebean leaves connections with active transactions
4.5.3
Bugs
#230 Delete with OneToOne fails with foreign key constraint violation
#229 EbeanCacheWarmer timer not canceled
#228 LazyLoad bug with QueryIterator. Getting EntityNotFoundException("Bean has been deleted - lazy loading failed")
#227 Many2Many cache bug.
#226 Json - support parsing json with unknown bean properties
4.5.2
Bugs
#223 RawSql that includes a OneToMany not working
#222 OnetoMany with compound key using IN is not legal in mssql
#185 RawSql parse not working with "order siblings by NAME"
#101 SQL SERVER - drop.sql does not disable referential integrity
Enhancements
#224 ENH: Add tableAliasMapping() to RawSqlBuilder ... for better mapping of complex objects with raw sql
4.5.1
Bugs
#221 ebean 4.4.1 does no longer respects 'ebean.namingConvention.useForeignKeyPrefix'
Enhancements
#220 Refactor Persist batch, add effectively add PersistBatch.INSERT (to ALL and NONE) and allow batching per request (save(), insert(), update(), delete()) enhancement
#219 Update PagedList javadoc - enable foreground query for getTotalRowCount() when loadRowCount() has not been used
4.4.1
Breaking Changes:
#215 Remove findPagingList() ... it has been deprecated for a while, please migrate to findPagedList()
#212 Refactor Properties loading, add ServerConfig.loadFromProperties(), add ContainerConfig
Issues:
#218 Internal change - modify SequenceIdGenerator to use Long instead of Integer bug
#214 Change default lazyLoadBatchSize from 1 to 10 (in ServerConfig)
#213 Make PathProperties easier to use - deprecate JsonWriteOptions
Enhancements:
#217 ENH: Restore findFutureList() removing it's previous deprecated status. Change implementation to use it's own PersistenceContext (aka PersistenceContextScope.QUERY) enhancement
#216 ENH: Add Model.Finder deleteById(id) method enhancement
#191 jmx disable config enhancement
#171 Stop read ebean.properties at programmatic configuration enhancement
4.3.1
Issues:
#209 refresh() ... does not refresh OneToMany or ManyToMany properties bug
#206 Reuse SqlUpdate when binding a list that can vary in size bug
#205 For JsonContext API wrap checked IOException's in runtime JsonIOException
#204 Revert change from #163 - Add back support for DataSource's with autocommit=true bug
#201 Change BeanPersistListener to use isRegisterFor() method rather than generics type (just like BeanPersistController)
Enhancements:
#211 Add support for File as a bean type ... for streaming into/from db enhancement
#210 Add Query.setLazyLoadBatch(int size) method ... for per query control enhancement
#207 Add support for PeristenceContextScope QUERY (in addition to the existing TRANSACTION scope) enhancement
#203 Add Transaction hook ... for preCommit(), postCommit(), postRollback() enhancement
#197 Add Query findEach() findEachWhile() ... as better method names for findVisit(). More consistent with forEach() methods.
#178 Add support for Java8 time datatypes such as LocalDateTime enhancement
4.2.0
Refactor of the JSON support. This version uses Jackson streaming API to parse and generate JSON. This is a API breaking change for the ScalarType objects and for some of the JSON API (some method names and callback/visitors have been removed initially).
In addition this release includes full support for PostgreSQL HSTORE mapping it to a Map<String,String> using the @ColumnHstore annotation. Refer to the PostgreSQL example code.
There are no bug fixes or other issues included in this release.