Skip to content

Releases: ebean-orm/ebean

6.8.1

21 Sep 05:58
Compare
Choose a tag to compare

Issues

#419 Support running History DDL scripts in full drop and create ddl execution - detect $$ procedures/triggers in ddl script

#418 Postgres History DDL generation - invalid update table statement to initialise the sys_period

Enhancements

#417 ENH: Add JSON expressions ... path exists and value at path equals value

#415 ENH: Add ExplicitJdbcTransaction ... so like AutoCommitJdbcTransaction but using explicit statements to commit and rollback

#414 ENH info: @history support for H2

#413 ENH: Add ability to clear the OrderBy ... so that a default order by can be set in code and then cleared / overwritten

6.7.1

14 Sep 04:29
Compare
Choose a tag to compare

Breaking API

#411 Refactor AutoFetch, rename to "AutoTune", store/load tuning and profiling as XML

Issues:

#412 SQL_LOGGER trace() to debug() issue - Unintelligible logging settings bug

#410 Require findPagedList() query to specify an order by clause - throw exception if no order by supplied

6.6.1

08 Sep 12:12
Compare
Choose a tag to compare

Issues

#406 Remove diff "non flat mode" ... so diff going forward only supports flat mode

#403 Long property names result in invalid DDL

#401 Caused by: java.lang.NullPointerException at com.avaje.ebeaninternal.server.changelog.DefaultChangeLogListener.configure(DefaultChangeLogListener.java:62)

Enhancements

#407 ENH: Add example uses of raw() into javadoc for ExpressionList.raw()

#405 ENH: Add @ReadAudit and associated functionality for auditing reads including queries and L2 cache access

#404 ENH: ExpressionList missing setUseQueryCache() method - need to add it.

6.5.1

28 Aug 13:07
Compare
Choose a tag to compare

Enhancements:

#399 ENH: Add new Finder ... to effectively replace Model.Finder

#398 ENH: Support delete using a Query instance

#368 ENH: Enhance @Index to support mulitple columns, unique flag and hence also be able to put on the class (annotation target TYPE) breaking-api enhancement

6.4.1

25 Aug 22:59
Compare
Choose a tag to compare

Issues

#397 Internal logger name change - Rename DefaultContainer logger to be com.avaje.ebean.internal.DefaultContainer ... so that the offline debugging messages come out without a extra logback name logger entry

#396 Rename migration method to DbMigration.generateMigration() ... update javadoc

#395 No functional change - cleanup unused BeanDelta

#392 Fix for AutoCommit mode ... fixing change from #204 ... such that AutoCommitJdbcTransaction works as expected

#388 Postgres DbType.HSTORE ... not registered as logical type for DbMigration

#387 Change ebeanServer.diff() to default to 'flat' mode

#383 Refactor - Rename Oracle10Platform to OraclePlatform, remove Oracle9Platform (as not different)

#381 Change DbMigration to use default server platform when no platform specified

Enhancements

#394 ENH: Add plugin API SpiServer, SpiBeanType ... migrate plugins towards using this API, migrate away from direct use of BeanDescriptor etc.

#393 ENH: Add ServerConfig.getProperties() ... serverConfig remembers the properties that were used in configuration in order to make these available to plugins

#391 Minor internals - Ebean catch Throwable on instantiation rather than RuntimeException

#390 ENH: Add Change log mechanism for easy fine grained logging of insert, update, delete activity

#389 ENH: Allow Postgres8 platform also support identity (stills defaults to use sequences but can also use identity if defined explicitly)

#386 ENH: Add setDistinct() onto ExpressionList ... so you don't need to get back to the query

#385 Improve javadoc for Query setDistinct(true) ... explain how and why select() clause is required in that case

#384 ENH: Add findVersionsBetween(start, end) ... including implementation support for Oracle total recall

#382 ENH: Add support for @history using Oracle Total Recall ... for 'as of' queries

#377 Add back support for JsonWriteBeanVisitor bug enhancement

6.3.1

17 Aug 20:32
Compare
Choose a tag to compare

API Change

#374 SpiEbeanPlugin API change : DatabasePlatform dbPlatform parameter removed refactor

#363 - BeanPersistController postLoad() ... moved to new/separate BeanPostLoad interface breaking-api

Issues:

#376 Refactor - Remove PstmtDelegate ... that was used to access the underlying oracle specific PreparedStatement

#375 MS SQL Server - javax.persistence.PersistenceException: Query threw SQLException:Incorrect syntax near the keyword distinct

#373 Internals for Oracle - Remove the oracle proprietary jdbc batch handling in favour of standard jdbc batch api

#371 Internal - BeanRequest.rollbackTransIfRequired() ... change catch from PersistenceException -> Exception

#366 ServerConfigStart when registered via instance rather than class not fired

#364 CallableStatement with a parameter that is both IN and OUT (so an INOUT parameter)

#233 @OnetoOne mapping DDL generation for MS SQL Server

Enhancements:

#380 ENH: Add DB migration - determine diff and generating change sets

#379 Add MySql support for @history

#369 Internal changes for DB Migration / DDL generation

#367 ENH: Add EbeanServer deleteAll() with an explicit transaction

6.2.2

29 Jul 18:52
Compare
Choose a tag to compare

Issues:

#357 batch insertAll has no effect when tx commited

Enhancements:

#362 Introduce a ClassPathSearchService to support multiple ClassPath search processes with customise search methods

#361 ENH: Add ServerConfig expressionEqualsWithNullAsNoop - Can eq ne gt ... methods in ExpressionList treat null value as 1=1 ?

#360 ENH: Add query setDisableLazyLoading(true) ... for use when graph serialised via external library (and you don't want lazy loading to fire)

#359 ENH: add BeanState.setDisableLazyLoad(boolean) ...

6.2.1

27 Jul 11:11
Compare
Choose a tag to compare

Removed deprecated API

#352 Remove deprecated API - ValuePair getValue1() getValue2() ... use getNewValue() getOldValue()

Enhancements

#358 ENH: Add ServerConfig updateAllPropertiesInBatch with a default of true

#356 ENH: Change to Binder logging such that the value in the bind log is the converted/bound value

#355 ENH: Add notIn(...) expressions. Just to make life easier in those cases

#353 ENH: Add ServerConfig diffFlatMode ...

#351 ENH: Add 'diff' to Version beans returned from findVersions()

#350 ENH: Add @history findVersions() query ... returning historic versions for a given bean using history view

#349 ENH: Add @Whocreated @WhoModified ... with CurrentUserProvider interface

#348 ENH: Add @WhenCreated and @WhenModified ... as alias to existing @CreatedTimestamp and @UpdatedTimstamp

#347 @history support with query.asOf(Timestamp)

#296 ENH: Add to transaction setUpdateAllLoadedProperties() - force update all properties api

6.1.1

20 Jul 08:35
Compare
Choose a tag to compare

Enhancement

#346 ENH: Add @nullable annotation on find by id and findUnique() methods enhancement

#345 Expose Query.getId() and Query.getBeanType() methods ... (previously on SpiQuery)

Removed Deprecated

#344 Remove deprecated annotation @ColumnHstore ... migrate to @DbHstore

#343 Remove deprecated interface BeanFinder ... migrate to BeanFindController

#342 Remove deprecated method - JsonContext createJsonContext() ... migrate to json()

#341 Remove deprecated method - insert(Collection<?> beans); ... migrate to insertAll()

#340 Remove deprecated method - update(Collection<?> beans) ... migrate to updateAll()

#339 Remove deprecated method - save(Collection<?> beans, Transaction transaction) ... migrate to saveAll()

#338 Remove deprecated method - save(Iterator<?> it, Transaction transaction) ... please change to iterate yourself and save.

#337 Remove deprecated method - delete(Class beanType, Collection ids) ... migrate to deleteAll()

#336 Remove deprecated method - delete(Iterator<?> it, Transaction transaction)

#335 Remove deprecated method - delete(Collection<?> beans) ... migrate to deleteAll()

#334 Remove deprecated method - delete(Iterator<?> it) ... change to iterate yourself and delete()

#333 Remove deprecated method - save(Iterator<?> it) ... change to iterate yourself and save()

#332 Remove deprecated method - save(Collection<?> beans) ... migrate to saveAll(beans)

#331 Remove deprecated method - EbeanServer.findVisit() ... in favor of #findEachWhile

5.1.1

19 Jul 22:03
Compare
Choose a tag to compare

new-api

#326 API Addition - saveAll(), deleteAll(), updateAll(), insertAll() ... when save, delete collections etc

deprecated-api

save(Collection beans)
insert(Collection beans)
update(Collection beans)
delete(Collection beans)
... migrate to saveAll(), insertAll(), updateAll(), deleteAll()

save(Iterator beans)
delete(Iterator beans)
... migrate to performing the iteration yourself