ebean

Ebean ORM

APACHE-2.0 License

Stars
1.5K
Committers
104

Bot releases are hidden (Show)

ebean - 6.12.1

Published by rbygrave almost 9 years ago

Issues:

#469 Embedded bean made dirty after a prior insert does not trigger dirty state on 'outer' bean

#467 Delete bean with unloaded version property throws OptimisticLockException breaking-api

#465 The encrypt key is logged out in sql statement - when included in where predicate

#455 Should not generate "FOR UPDATE" for delete query

Enhancements:

#466 Delete of @Draftable bean ... means also delete matching live bean (aka delete has automatic publish behavior)

#464 ENH: Add draftRestore(Class<?> beanType, Object id) ... to refresh a draft from the live (@Draftable feature)

#463 ENH: Add @DraftReset support - property that is set to null on the draft been when it is published (@Draftable feature)

#456 orderby can inject sql on mysql

#291 ENH: Add ability to validate a query or property expression - Was Please check column exist on entity

ebean - 6.11.1

Published by rbygrave almost 9 years ago

Issues:

#461 ENH: Add @Draftable support

#458 Support use of test-ebean.properties without an existing ebean.properties

#457 When ebean.properties does not exist do not log error message

ebean - 6.10.4

Published by rbygrave almost 9 years ago

Issues:

#451 avaje-ebeanorm-jackson - com.fasterxml.jackson.core.JsonParseException: Expecting start_array event but got START_OBJECT at

#295 Context.toList error for Jackson module

ebean - 6.10.3

Published by rbygrave almost 9 years ago

Issues:

#450 - @ManyToMany with cascade and jdbc batch - ensure flush occurs

#449 Remove whitespace from generated Postgres trigger DDL (as Play evolution not parsing it)

ebean - 6.10.2

Published by rbygrave almost 9 years ago

Issues:

#448 : ENH: Postgres Support for UUID mapping to native DB UUID type (relating to #430)

#445 Multiple @*ToMany relations referencing the same type

#443 ENH: Enum mapping - Add annotation @DbEnumValue that can be used to on a enum method which provides DB values

#436 @DiscriminatorColumn mapped also as @Column leads to NullPointerException

#435 Duplicate foreign key name with ManyToMany relations

ebean - 6.10.1

Published by rbygrave almost 9 years ago

Issues

#444 Spring Boot classpath scanning not finding entity beans

#442 @JsonIgnore / @Expose ... not working on @OneToMany or @ManyToMany - was - @Transient field on @MappedSuperclass is not ignored by toJson()

#439 @EnumValue("01") stored as integer rather than string - ENum stores strings as numerics?

#438 findPagedList and getTotalRowCount, the query.getAlias() is null

#432 Delete using Query does not commit

#431 Annotation PrivateOwned seems not enough to update an change in the list of children

Enhancements:

#441 ENH: Add support for test-ebean.properties ... for mechanism to configure ebean to run tests enhancement

#430 ENH: Support for UUID mapping to native DB UUID type (Postgres, H2)

ebean - 6.9.1

Published by rbygrave about 9 years ago

Issues:

#425 Extra instance of root level bean with findIterate() and fetch of OneToMany relationship - Ebean parses the first bean correctly and the rest not

#424 DDL generation - support turning off lower casing of table and column names DbConstraintNaming, DbConstraintNormalise

Enhancements:

#427 ENH: Add support for Removing ShutdownManager.shutdownHook ... manually control entire shutdown.

#422 ENH: Add jsonBetween() expression

#421 ENH: Add support for unsetting the loaded state of a bean property (via BeanState)

ebean - 6.8.1

Published by rbygrave about 9 years ago

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

ebean - 6.7.1

Published by rbygrave about 9 years ago

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

ebean - 6.6.1

Published by rbygrave about 9 years ago

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.

ebean - 6.5.1

Published by rbygrave about 9 years ago

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

ebean - 6.4.1

Published by rbygrave about 9 years ago

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

ebean - 6.3.1

Published by rbygrave about 9 years ago

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

ebean - 6.2.2

Published by rbygrave about 9 years ago

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) ...

ebean - 6.2.1

Published by rbygrave about 9 years ago

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

ebean - 6.1.1

Published by rbygrave over 9 years ago

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 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

ebean - 5.1.1

Published by rbygrave over 9 years ago

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

ebean - 4.9.1

Published by rbygrave over 9 years ago

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

ebean - 4.8.1

Published by rbygrave over 9 years ago

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

ebean - 4.7.3

Published by rbygrave over 9 years ago

Issues

#312 Ability to remove deregister BeanPersistListeners removed breaking-api
#308 API: Add BeanFindController with an boolean isRegisterFor(Class<?> cls) ... deprecating BeanFinder