Bot releases are hidden (Show)
Published by rbygrave over 8 years ago
#746 SqlQuery with named parameter and limit/offset gives SQL exception
#745 ElasticSearch - internally translate where().id.eq(42) ... to where().setId(42)
#744 ElasticSearch - isEmpty() expression needs to have outer not:{} negation to work as per ..
#743 Fix issue with ElasticSearch nested path query with multiple nested path expressions
Published by rbygrave over 8 years ago
#740 ClassCastException: java.util.ArrayList cannot be cast to com.avaje.ebean.bean.BeanCollection at com.avaje.ebeaninternal.server.deploy.BeanPropertyAssocMany.resetMany(BeanPropertyAssocMany.java:273)
#739 UpdateQuery with idEq() expression gives wrong update statement (still has table alias)
#734 Add ServerConfig.skipCacheAfterWrite & transaction.setSkipCache(boolean) ... to control L2 Bean cache use during transaction
#742 ENH: DocStoreConfig ... read System properties for isGenerateMapping(), isDropCreate() and isCreate()
#741 ENH: Add DocumentStore indexSettings() method ... for setting ElasticSearch refresh_interval
Published by rbygrave over 8 years ago
#733 RawSqlBuilder.columnMapping() not working using DB column alias ... java.lang.IllegalArgumentException:
DB Column [detail_count] not found in mapping.
#732 NPE in ScalarTypeArrayList.read(ScalarTypeArrayList.java:89) ...
#730 Remove unused ServerConfig.classPathReaderClassName ... as replaced by org.avaje.classpath.scanner.ClassPathScanner plugin breaking-api
#729 Remove unused ServerConfig.addJar(...); serverConfig.setJars(...); ... as "search jars" is no longer used in classpath scanning (since 7.8.1) breaking-api
#728 Remove Query.where(String) ... migrate to where().raw(...) breaking-api
#726 L2 cache returns stale data -> change such that when using "local L2 caching" the changes to L2 cache propagate in foreground
#731 ENH: Add support for using ebean.mf manifest file for finding/defining packages to search for entities
#727 ENH: Add endOr(), endAnd(), endNot() ... to ExpressionList as synonym for endJunction()
Published by rbygrave over 8 years ago
#725 L2 cache not updating CacheManyId's entry when Lazy loading on a ToMany relationship, after a prior update, when other ToMany is a vanilla type (like ArrayList)
#724 NPE when using L2 caching configured with @Cache with queryCaching=true and beanCaching=false
Published by rbygrave over 8 years ago
#723 Breaking API - Change BeanPersistListener to return void rather than boolean for inserted(), updated() and deleted()
#721 Remove EbeanServer saveManyToManyAssociations() and deleteManyToManyAssociations()
#720 Remove EbeanServer saveAssociation(Object ownerBean, String propertyName); ... migrate to just save the bean
#719 Remove deprecated Query.includeSoftDeletes() ... migrate to setIncludeSoftDeletes()
#718 Remove findPagedList(pageIndex, pageSize) ... migrate to setFirstRows().setMaxRows().findPagedList()
#717 Remove findIterate() ... migrate to findEach() or findEachWhile()
#716 Remove createNamedQuery() and createQuery(Class beanType, String query) ... use criteria API, query beans and RawSql
#722 NotifyOfCommit failed. L2 Cache potentially not notified. - NullPointerException at BeanDescriptorCacheHelp.java:299
#715 isNull() expression on @OneToMany or @ManyToMany produces incorrect SQL - should translate this to be same as isEmpty() and result in exists subquery
#165 Incorrect join used when query language with where expression has a many property and ends with a foreign key column bug
#120 ENH: Add support for using where() on bulk Update statements
Published by rbygrave over 8 years ago
#713 DB Migration - When change is from Not Null to Null ... this migration is duplicated in subsequent migration generation
#712 Refactor: Rename DbMigrationConfig dbUser to dbUsername breaking-api
#711 Refactor: Extract DB Migration runner as separate module (called avaje-dbmigration)
#710 Behavior change - query with invalid fetch path (without properties) now throws PersistenceException
#709 Refactor: BeanCollection internals, rename method isEmptyAndUntouched() to isSkipSave(), remove 'touched' flag
#708 Refactor - Remove BeanCollectionTouched interface
#513 Column Constraint for Enum types should cover all Enum values in an inheritance hierachy
#416 RawSql issue with inheritance - PersistenceException: Inheritance type for discriminator value
Published by rbygrave over 8 years ago
#706 NPE when using @DbArray with null values
#704 Update javadoc for Query.setUseCache(false) ... and @Cache documentation
#703 Refactor - When batch lazy loading hits the L2 bean cache and misses initially, it checks that initial bean again (and should skip the second attempt)
#702 IllegalStateException: No bean cache enabled error ... when updating bean that is not using caching (but is related to a bean with @Cache)
#701 DB Migration - incorrect alter column DDL when removing not null constraint (Postgres specific)
#568 ENH: Add ability to turn of getGeneratedKeys with @Transactional annotation
#278 SqlQuery setFirstRow fail - modify SQL using LIMIT/OFFSET etc to support firstRows/maxRows
Published by rbygrave over 8 years ago
#700 Postgres ARRAY and JSON expressions cast Long to ::integer rather than ::bigint (and @DbArray List incorrect DDL for column definition - should be bigint[] rather than integer[])
#699 DB Migration not generating sql to alter check constraints
#698 History DDL generation for Postgres does not respect non-public schema
#697 Refactor - tidy objectMapper detection in DefaultTypeManager
#522 DDL - DB migration diff does not include DDL to add comment
Published by rbygrave over 8 years ago
#696 ENH: Add fallback for @DbHstore ... fallback to JSON storage in VARCHAR
#695 ENH: Add @DbArray for storing scalar types (UUID, Long, String) to Postgres ARRAY type
Published by rbygrave over 8 years ago
#694 Refactor - Rename IdGenerator to PlatformIdGenerator ... with a view to support customer Id generators
#692 MigrationVersion parses version "0.1.1-SNAPSHOT" as "0.1" (rather that "0.1.1")
#693 ENH: Add support for mapping @DbJson to list of scalar types List, List, Set and Set
#668 ENH: Add ability to register a custom IdGenerator
#570 ENH: Add ability to configure eBean to use true "ilike" expression
#542 ENH: @DbJson fields are auto serialized and deserialized to specified classes.
Published by rbygrave over 8 years ago
There are associated releases for avaje-ebeanorm-hazelcast and avaje-ebeanorm-ignite to support the refactoring in the L2 cache plugin mechanism.
#689 Refactor DB Migration to support "V" prefix
#688 Refactor L2 cache initialisation. Add ServerCachePlugin and change ServerCacheFactory
#686 Trouble with non-standard java.sql.Date values caching in 7.8.1. bug
#684 Refactor - rename @CacheStrategy to @Cache ... require explicit enableQueryCache=true for query cache use
#683 Refactor - rename @CacheTuning to @CacheBeanTuning ... for consistency
#682 Remove deprecated Model.Finder constructors that take Id type ... migrate to ones that don't
#681 Remove SqlQuery.cancel() ... migrate to SqlQuery.findEachWhile() and stop while iterating
#680 Remove deprecated SqlQuery.findFutureList()
#679 Remove SqlQuery.setListener() ... migrate to SqlQuery.findEach() or SqlQuery.findEachWhile()
#678 Remove SqlQuery.findSet() and SqlQuery.findMap() ... migrate to use SlqQuery.findList()
#677 REFACTOR: Remove unused SqlQuery.setBackgroundFetchAfter()
#675 ENH: Add SqlQuery.findEach() and SqlQuery.findEachWhile() methods ... to replace setListener()
#671 ENH: Add support for @View and extra-ddl.xml to nicely support entity beans based on views
Published by rbygrave over 8 years ago
#667 Remove deprecated @SqlSelect ... migrate to use RawSql / RawSqlBuilder
#666 deleteAll(beans) return int , but deleteAll(beanType,ids) return void in EbeanServer
#665 Remove deprecated @DocStoreEmbedded ... should migrate to @DocEmbedded deprecated-api
#663 Change Postgres default Timestamp type to be "Timestamp with time zone"
#662 Add support for setting Calendar time zone to use via ServerConfig.setDataTimeZone() ... was Postgres Timestamp with time zone testing
#660 findPagedList() does not handle raw sql order by
#658 REFACTOR: Simplify LocalDateTime -> Timestamp conversion, use Timestamp.valueOf()
#657 POM - drop dependency on org.springframework.boot and avaje-ebeanorm-cluster
#656 Remove remoteInsert(), remoteUpdate() remoteDelete() methods from BeanPersistListener breaking-api
#655 DB Migration should not require running L2 cache (ie. Hazel cast server etc)
#661 ENH: Add deletePermanent(beanType, id) and deleteAllPermanent(beanType, ids) ... (basically missing API)
#659 ENH: Add support for Instant with @WhenCreated @WhenModified
#651 ENH: Add type support for java.nio.file.Path ... such that it stores the underlying URI as VARCHAR/string
#636 ENH: Add DB Migration runner (as alternative to running via FlywayDB etc)
Published by rbygrave over 8 years ago
#653 Change ScalarType format/parse of all Timestamp/Date time types to use epoch millis
#650 REFACTOR: L2 Cache - Optimise cache entry for serialisation (size of resulting byte[])
#647 REFACTOR: L2 cache - remove cache warming support (from @CacheStrategy and API)
#646 REFACTOR: L2 cache towards remote data grid caches (like Ignite etc)
#652 ENH: L2 cache - add @CacheQueryTuning annotation
#649 ENH: Add ebean.disableL2Cache=true option ... to globally disable l2 cache
#635 ENH: Add Hazelcast L2 cache plugin option
Published by rbygrave over 8 years ago
#643 NPE on OrmQueryProperties.java:474
#637 Change SPI for ServerCache, add ServerCacheType to allow different cache construction for query bean and bean cache
#634 Refactor internal class path scanning to use avaje-classpath-scanner-api / avaje-classpath-scanner
#633 Remove deprecated SpiEbeanPlugin (people should have migrated to com.avaje.ebean.plugin.Plugin)
#642 ENH: Add support for OneToMany expression isEmpty() / isNotEmpty() ... which is effectively an EXISTS and NOT EXISTS subquery
#641 ENH: Add EbeanServer.setBeanId(bean, id) ... to make it easy to convert id value to appropriate type and set
#640 ENH: ServerConfig - support get/put arbitrary configuration objects for use by plugins
#632 ENH: Alter AutoTune such that it saves back to autotune.xml (rename any existing autotune file)
Published by rbygrave over 8 years ago
#631 With find by id query, and id value type conversion (e.g. String to Long) this does not hit L2 cache
#630 ENH: Add support for System property "disableTestProperties" ... to enable disabling the load of test-ebean.properties
#629 DefaultServerCache using java 1.7 compare method, drop trim logging from DEBUG to TRACE
#628 Refactor Clustering - extract ClusterBroadcast implementations (TCP and Multicast)
#623 Clustering can not support properties file?
Published by rbygrave over 8 years ago
#627 Rename Query.includeSoftDeletes() to Query.setIncludeSoftDeletes()
#625 Rename @DocStoreEmbedded to @DocEmbedded (with deprecation)
#621 EbeanServer.shutdown(true, false) followed by EbeanServerFactory create() when using the same ServerConfig give SQLException: Trying to access the Connection Pool when it is shutting down
#619 Javadoc only update documentation
#626 ENH: Add support for where().idIn(...) using varargs
#622 Set interrupted status for findFutureList() ... (specifically the FutureList.getUnchecked() methods)
Published by rbygrave over 8 years ago
This release has pulled out the DataSource implementation into separate artifact/modules. Namely avaje-datasource-api and avaje-datasource.
#618 Refactor - remove DataSourcePool implementation as separate dependency
#617 Refactor - tidy up DataSource internals, reduce method visibility
Published by rbygrave over 8 years ago
#616 ElasticSearch expression - IllegalArgumentException: unhandled type class org.example.domain.Customer
#614 'Matches for the concatinated key columns where not found'
#611 findRowCount ignores @SoftDelete, does not add predicate
#604 @SoftDelete with deletePermanent() on lazy loaded @OneToOne gives NPE
#615 ENH: Change DDL generation with @SoftDelete to add 'default false' to column definition
#612 ENH: Add deletePermanent() to com.avaje.ebean.Model
Published by rbygrave over 8 years ago
#610 ManyToOne returns wrong ID value (prior ManyToOne with inheritance and null value). Regression introduced in 7.2.1.
Published by rbygrave over 8 years ago
#609 SQLite DDL - disable use of comments and alter table add foreign key (as these are not supported by SQLite)
#608 SQLite Ddl : autoincrement attribute
#100 SQLITE (365) : ADD CONSTRAINT DDL SQLite Incompatibility
#601 Second Nested filterMany not executed but joined
#600 Unique index or primary key violation - double insert attempted on ManyToMany intersection
#593 Refactor SPI - Move methods from ElPropertyValue to ExpressionPath
#592 Fetched empty collection of null child of parent entity
#590 Refactor internals - Remove duplicate isBatch() logic in JdbcTransaction
#588 NullPointerException with two filterMany-statements in same query
#587 Refactor - Change JsonContext.getScalar() to JsonContext.writeScalar()
#586 Refactor the UUID ScalarTypes (Native, Varchar and Binary) to have a common base
#583 MSSQL Server - Delete query syntax error, mssql does not like the table alias in the delete statement
#580 @Enumerated(EnumType.STRING) on Enum uses toString() rather than name()
#578 Deprecated Joda Time API - LocalDate.toDateMidnight() usage causes exception to be thrown, change to LocalDate.toDateTimeAtStartOfDay()
#606 Add not() as a junction expression (like and() and or()) to the query criteria API
#605 Add and() and or() ... as synonyms for conjunction() and disjunction() ... to the "Query Criteria API"
#607 Tidy "text" extensions to criteria API - remove endMust(), endShould(), endMustNot() ... just use endJunction()
#602 Elastic - Add support for ebean.docstore.generateMapping
#599 ElasticSearch - add query join support for find, findList, findPagedList, findEach, findEachWhile
#594 ElasticSearch - Add match / TextExpression support (Full text search expression)
#589 ElasticSearch - Add copyIndex() via Query, Add findEachWhile()
#584 ElasticSearch: Internal changes for config, expressions and JSON conversion
#582 ElasticSearch: Add setUseDocStore(true) on ExpressionList ... for fluid query style enhancement
#581 ElasticSearch - DocStoreConfig, read dropCreate not read from properties file