Bot releases are hidden (Show)
Published by rbygrave over 6 years ago
#1370 Trigger based history will recreate view properly and handle default …
#1379 FIX: correct caching when collection with different inherited beans is put to the cache
Published by rbygrave over 6 years ago
#1375 Bug: RawSql parsing fails when using placeholders
#1378 FIX: use LinkedHashMap in enum types to get deterministic ordering
Published by rbygrave over 6 years ago
#1377 Bump dependency - jsnakeyaml 1.19 to 1.21
#1376 Bump dependency - jackson-core from 2.9.0 to 2.9.5
Published by rbygrave over 6 years ago
#1374 Remove io.ebeaninternal.server.core.ServletContextListener - should be unused refactor
#1373 FIX: NPE when fetching inherited beans from cache
#1372 Missing @OneToOne mapping yields unusable error messages. bug
Published by rbygrave over 6 years ago
#1371 - Regression in 11.15.5 with @Inheritance on abstract class with discriminatorType = INTEGER
Published by rbygrave over 6 years ago
#1369 BeanListener and/or BeanPersistAdapter not fired on delete of children when cascaded
#1366 FIX: load all props from cache when inheritance is involved
#1365 Regression: property ebean.namingConvention=io.ebean.config.MatchingNamingConvention ... no longer works
#1363 Update ebean-migration to 11.5.4
#1361 Inheritance - Add support for @DiscriminatorValue to be optional enhancement
Published by rbygrave over 6 years ago
#1360 - ENH: Add transaction.setNestedUseSavepoint() ... such that nested transactions are actually Savepoints
Published by rbygrave over 6 years ago
#1357 - Regression in 11.15.2 - for nested Ebean.beginTransaction(TxScope.requiresNew()); ... where closed via ebeanServer.endTransaction(); rather than transaction.end()
Published by rbygrave over 6 years ago
#1353 Use of ebeanServer.commitTransaction() in nested transaction doesn't match transction.commit() and closes parent scope
#115 Mapping - Add support for @ElementCollection
#1354 ENH: Add SqlUpdate setNextParameter() ... as alternative for positioned parameters
#1351 ENH: Add named DtoQuery
#1350 ENH: Add mappingsLocation config to search xml mapping files.
#1352 Bump default datasource - with better defaults for Idle connection cleanup (5 mins)
#225 Mapping - Add / review support for @IdClass
#1348 ENH: Add support for bitwiseAnd / bitwiseAny / bitwiseAll .. expressions for use with integer/long "Flags" properties
Published by rbygrave over 6 years ago
#1340 Split SQL Server Platform into SqlServer16 and SqlServer17 (where 2017 which uses UTF8 types nvarchar etc and prefers Sequences and has native UUID support). behaviour change enhancement
#1346 Since ebean version 11.12.1 executing docStore query with findPagedList fails with error (due to order by id)
#1347 Improve cleanup of inactive transactions from threadLocal when no end() used
#1345 Refactor io.ebean.meta.MetaInfoManager API (query execution metrics). Breaking change for people collecting query execution metrics.
#1343 Update the #1283 ENH: Support simplified test configuration (with docker setup typically via application-test.yml)
#1342 Refactor and rename DbTypeConfig to Platform config to support multi-platform db migration
#1221 ENH: Add a merge(bean) and merge(bean, paths)
#1344 ENH: Add initial Cockroach DB support ... need to review JSON support
#1318 ENH: native UUID-support for SqlServer
Published by rbygrave over 6 years ago
#1341 - Cascade persist with JDBC batch and BeanPersistAdapter with preUpdate() that invokes lazy loading on persisted bean ... results in OptimisticLockException
Published by rbygrave over 6 years ago
#1339 Regression: Fix for not throwing OptimisticLockException when loaded bean has @Version property set
#1317 FIX: limit the constraint names
#1337 Fix YamlLoader ... such that it loads multi-part yml source
#1338 Regression since 11.12.1 - resolve expressions in Properties given to serverConfig.loadFromProperties()
Published by rbygrave over 6 years ago
#1336 Change DDL generation such that it does create index before alter table add foreign key
#1335 Add Try catch to YAML loading ... add system property ebeanSkipYaml ... to enable skipping the read of application.yml (well, all yml)
#1323 FIX: ReadOnlyDatasource must also be configured
#1329 Ebean 11.12.1 broken when using ScalarTypeConverter with enum
#1330 Update ANTLR dependency to 4.7.1 refactor
#1334 ENH: Convert ORM query into DTO query ... with dynamic formula support
#1331 ENH: Support Aggregation formula with findSingleAttribute() ... max, min, avg, count and count(distinct ..)
#1332 ENH: Support @Aggregation .. with top level e.g. @Aggregation("max(lastModified)")
#1333 ENH: Support "dynamic formula" with findSingleAttributeList() ... e.g. .select("concat(lastName,', ',firstName)")
Published by rbygrave over 6 years ago
This release adds findDto() to query native SQL into DTO beans + Ebean.checkUniqueness()
#1327 FIX: add columnDefaultValue to more places
#1315 FIX: Splitcolumns must return an empty array if string was empty
#1314 FIX: DataReader was read twice in exception-path
#1304 FIX: do not set username and password for DbMigrationConfig
#1299 FIX: @Formula on @ManyToOne produces SQLException ... fix appends missing FROM clause for formula joins
#1298, #1326
#1297 ENH: Add DtoQuery ... such that we can map native SQL queries automatically into "DTO beans" 💥
#1303 NEW: Ebean.checkUniqueness - you can check a bean, if save would work 💥
#1301 ENH: extra-ddl can contribute to "drop-all" script, otherwise the drop all script is not appyable to h2:file
#1300 NEW: FetchCountDistinct - query can return distinct values with their counts
#1325 Add: Configuration md that describes the ebean options
#1319 ENH: new method AnnotationUtil.findMetaAnnotationsRecursive
#1313 ENH: Add sanity check to InExpression
#1312 ENH: added SqlRow factory method to RawSqlService
#1311 NEW: DB-with-Master option ... plus read tenant mode and providers from configuration properties
#1309 NEW: UUID version 1 generator
#1308 ENH: Optimized binary form for UUID (Type 1)
#1306 NEW: flag to control, if javax.validation NotNull annotation should generate a NotNull column or not
Published by rbygrave over 6 years ago
#1296 where().exampleLike(bean) ... with 'empty bean' produces invalid SQL
#1295 Multiple platform DbMigration generation with non-native boolean type (BIT, INTEGER etc) produces incorrect DDL for other DB Platform with native boolean
#1294 NPE when delete cascade from bean with SoftDelete to imported OneToOne without SoftDelete
#1282 Not supported for @DbArray mapping when using kotlin var instead of val (wildcard enum type)
#1293 Refactor - move JdbcClose into io.ebean.util ... from io.ebeaninternal.util as it is used in public API (platform code, sequences etc)
#1292 Fix for non-native / number boolean types (MySql, SqlServer, Oracle, Sqlite, SqlAnywhere) removing "default 0" + Fix for DB2 add foreign key update clause
#1275 Add ServerConfig.setDefaultOrderById() and query.orderById(boolean) ... to control automatically append "order by id" with paging query
#1280 Remove "order by" clause of RawSql query when executing findCount()
#1279 DbMigration supports altering UniqueConstraints and foreign keys
#1278 Multi-tenant delete by id ... doesn't return 0 when no rows deleted
#1276 Revert #1263 - ENH: Make Transaction API Fluid such that we can set multiple thing like batchSize and label in a fluid fashion
#1283 ENH: Support simplified test configuration (with docker setup typically via application-test.yml)
#1291 ENH: Ability to add preconfigured DatabasePlatform to DbMigration - adds method DbMigration.addDatabasePlatform(DatabasePlatform databasePlatform, String prefix)
#1277 ENH: Support adding a '-- Generated by' comment to DDL including version and timestamp
#1246 Support use of application.yml and application-test.yml ... (as alternative to ebean.properties, test-ebean.properties)
#1272 ENH: Add built in support for Joda Period and Java time Period
#1271 ENH: Add BeanFinder and BeanRepository ... such that there is a read to go base class for DI repository style 💥
#1063 Add Event Listeners capable of being notified for delete by id or delete by query 💥
#1273, #1274, #1281, #1284, #1285, #1286, #1287, #1288, #1289, #1290
Published by rbygrave over 6 years ago
#1270 Multi-tenant - partition mode - Delete by id does not include tenantId value in predicate
#1267 DDL issue on @OneToMany @JoinTable ... extra unnecessary index created on fk column
#1269 Paging queries should not ALWAYS append an order by ID ... but only when the order by is empty
#1268 SQL Server fix for "for update" plus Sequences support plus refactor of sequences
#994 @OneToOne cacade does not honor orphanRemoval = true
fashion enhancement
#1228 Add support to not generate FK Constraint when @JoinColumn(foreignKey=@ForeignKey(ConstraintMode.NO_CONSTRAINT))
#1264 [utf8mb4-support] Limit max key len to 767 bytes
#1174 ENH: Support mapping @TenantId to an entity bean via @ManyToOne
#123 Mapping - Add support for OneToMany JoinTables enhancement
#1263 ENH: Make Transaction API Fluid such that we can set multiple thing like batchSize and label in a fluid
#323 DDL Generation support for foreign key cascade options
Published by rbygrave over 6 years ago
#997 TypeReflectHelper does not resolve type variables correctly in non-trivial cases
#1258 ENH: Add ServerConfig notifyL2CacheInForeground option ...
#1261 ENH: Support use of getGeneratedKeys with SqlUpdate
#1262 ENH: Support firstRow maxRows with findNative()
Published by rbygrave over 6 years ago
#1142 Mapping - Add support for @OrderColumn (Ebean automatically maintains an order column)
#107 Mapping - Add support for @PrimaryKeyJoinColumn/@PrimaryKeyJoinColumns
Published by rbygrave over 6 years ago
#1260 Mark query.setForUpdate(true) as deprecated - migrate to query.forUpdate()
#1257 ServerConfig with register = true, defaultServer = false ... fails as it tries to create the default server
#1256 Query where many isNotEmpty() ... on ManyToMany with SoftDelete produces incorrect SQL (Part 2)
#1259 Throw explicit mapping error when an Enum is mapped to both ORDINAL and STRING
Published by rbygrave over 6 years ago
#1254 SpringJdbcTransactionManager inifinite recursion
#1255 Regression on raw LIKE expression with slashes on Postgres
#1253 Query where many isNotEmpty() ... on ManyToMany with SoftDelete produces incorrect SQL