Releases: ebean-orm/ebean
6.1.1
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
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
4.9.1
Issues
#328 JSON - Fix/Change for jsonDeserialize ... such that it reads the json content and then ignores
Enhancements
#330 JSON - Add ebean @JsonIgnore ... with serialize() default false and deserialize() default false
#329 JSON - Remove @deprecated from JsonWriteOptions ... to support ObjectMapper which can be used for serialize/deserialize of @transient properties
#327 JSON - Read and honor Jackson JsonIgnore ... (if jackson annotations present) enhancement
#324 ENH: Add Ebean.getDefaultServer()
#280 ENH: Add ServerConfig.setJsonInclude(...) ALL, NON_NULL, NON_EMPTY - Add support for suppressing properties that have null values from JSON output aka Jackson mapper.setSerializationInclusion(JsonInclude.Include.NON_EMPTY) enhancement
4.8.1
Breaking API
#314 ServerCache API - change from int to long for ServerCacheStatistics (hitCount, missCount) and ServerCache remove putIfAbsent() method
Issues
#322 RawSql fetch object with inheritance bug
#319 Beans loaded without an @id value ... return in NEW state rather than LOADED state (also refer to #317) enhancement
#317 RawSql getting error - Caused by: java.sql.SQLException: Column Index out of range, 0 < 1.
#316 Resolve NullPointerException on JtaTransacionManager constructor
#315 Update ScalarTypeEnumStandard.java
4.7.3
4.7.2
4.7.1
Issues:
#310 Child bean with @id long id = 0 ... when cascade saved from parent ... tries to update instead of insert resulting in OptimisticLockingException
#309 ScalarTypeConverters for Java8 time datatypes not working bug
#305 ENH: Add EbeanServerFactory.createWithContextClassLoader() to support OSGi enhancement
#303 Change beginTransaction() to use REQUIRED scope by default
#302 Postgres specific - Rename @ColumnHstore to @DbHstore (deprecate @ColumnHstore )
#298 JndiDataSourceLookup assumes java: prefix breaking-api
4.6.3
Issues:
#301 MySQL specific issue - java.sql.SQLException: Streaming result set com.mysql.jdbc.RowDataDynamic@3ef4415f is still active. No statements may be issued when any streaming result sets a re open and in use on a given connection. Ensure that you have called .close() on any active streaming result sets before attempting more queries.
#300 Stateless update with deleteMissingChildren and JDBC batched inserts on those children ... can delete newly inserted child bug
#299 ENH: Add support for mapping Jackson JsonNode as JSON content to DB including Postgres JSON and JSON types.
#297 ENH: Add support for mapping Map<String,Object> as JSON content to DB including Postgres JSON and JSON types.
#294 add distinct to db2
4.6.2
4.6.1
Issues:
#288 Exclude MaxRows FirstRow in findRowCount bug
#287 ENH: Support nested transactions with the Ebean.beginTransaction() API enhancement
#285 ENH: support disable search classes config via ServerConfig.setDisableClasspathSearch(true) enhancement
#283 SPI change: Rename BootupEbeanManager to SpiContainer ... with a view to future exposing cluster specific methods refactor
#282 API: Add Model.Find as alternative to Model.Finder ... which uses reflection to determine entity bean type literal enhancement new feature