rob bygrave
cb0dee998b
#1375 - Bug: RawSql parsing fails when using placeholders
2018-05-17 12:48:08 +12:00
rob bygrave
89789f3347
#1372 - Missing @OneToOne mapping yields unusable error messages.
...
Restore mapping.
2018-05-14 21:33:11 +12:00
rob bygrave
9dc5ca602c
#1372 - Missing @OneToOne mapping yields unusable error messages.
2018-05-14 21:32:48 +12:00
Roland Praml and Rob Bygrave
0a49fc9b62
FIX: NPE when fetching inherited beans from cache ( #1373 )
2018-05-14 21:12:42 +12:00
rob bygrave
cfaedcdbc5
#1371 - Regression in 11.15.5 with @Inheritance on abstract class with discriminatorType = INTEGER
2018-05-10 17:20:09 +12:00
rob bygrave
33031d1c69
#1369 - BeanListener and/or BeanPersistAdapter not fired on delete of children when cascaded
2018-05-06 20:21:10 +12:00
Roland Praml and Rob Bygrave
49d9d88fbe
FIX: load all props from cache when inheritance is involved ( #1366 )
2018-04-27 14:44:18 +12:00
Rob Bygrave
756f867ed2
#1365 - Regression: property ebean.namingConvention=io.ebean.config.MatchingNamingConvention ... no longer works
2018-04-18 21:24:37 +12:00
rob bygrave
e49a0c9ffb
#1360 - ENH: Add transaction.setNestedUseSavepoint() ... such that nested transactions are actually Savepoints
...
Additional tests
2018-04-05 21:48:54 +12:00
rob bygrave
dd6f223ae1
#1360 - ENH: Add transaction.setNestedUseSavepoint() ... such that nested transactions are actually Savepoints
2018-04-05 21:35:29 +12:00
Rob Bygrave
b8c4e1c3d3
#1357 - Regression in 11.15.2 - for nested Ebean.beginTransaction(TxScope.requiresNew()); ... where closed via ebeanServer.endTransaction(); rather than transaction.end()
2018-03-29 10:22:12 +13:00
Rob Bygrave
acd5578d8a
#115 - Mapping - Add support for @ElementCollection enhancement
...
Add element collection L2 cache support
2018-03-29 01:15:58 +13:00
Rob Bygrave
07946cd505
#115 - Mapping - Add support for @ElementCollection enhancement
...
Add element collection notification - combine into preUpdate/postUpdate of the bean
2018-03-28 17:31:53 +13:00
Rob Bygrave
57870aaa05
#115 - Mapping - Add support for @ElementCollection enhancement
...
Add embedded bean support
2018-03-28 13:22:46 +13:00
Rob Bygrave
dfa7b765f9
#1354 - ENH: Add SqlUpdate setNextParameter() ... as alternative for positioned parameters
2018-03-27 22:58:19 +13:00
Rob Bygrave
eb96c726fd
No effective change - Modify some tests to use transaction try with resources
2018-03-27 10:47:24 +13:00
Rob Bygrave
abbcd35ee6
#1353 - Use of ebeanServer.commitTransaction() in nested transaction doesn't match transction.commit() and closes parent scope
2018-03-27 09:14:45 +13:00
Rob Bygrave
db5a2b194d
No effective change - add extra test coverage on DefaultTransactionThreadLocal
2018-03-26 23:31:31 +13:00
Rob Bygrave
74e0a16531
#1351 - ENH: Add named DtoQuery
...
Merge branch 'feature/namedDtoQuery' of https://github.com/hexagonframework/ebean into hexagonframework-feature/namedDtoQuery
2018-03-26 20:45:39 +13:00
Rob Bygrave
8601f51a6c
#1351 - ENH: Add named DtoQuery
...
Merge branch 'feature/namedDtoQuery' of https://github.com/hexagonframework/ebean into hexagonframework-feature/namedDtoQuery
2018-03-26 20:45:22 +13:00
Rob Bygrave
6534feb5da
#1350 - ENH: Add mappingsLocation config to search xml mapping files.
...
Minor adjustments - read "mappingLocations" only etc.
2018-03-26 16:55:25 +13:00
Yuan Xuegui and Rob Bygrave
6cf5e3386d
ENH: Add mappingsLocation config to search xml mapping files. ( #1350 )
...
ENH: Add mappingsLocation config and search xml mapping files feature.
2018-03-26 16:37:25 +13:00
Rob Bygrave
057d7480b0
#115 - Mapping - Add support for @ElementCollection enhancement
...
Add simple Map support with Json
2018-03-21 00:15:40 +13:00
Rob Bygrave
85c4385498
#115 - Mapping - Add support for @ElementCollection enhancement
...
Initial support - add simple Set support and Json support for simple List and Set.
2018-03-20 17:24:35 +13:00
Rob Bygrave
74a9019535
#115 - Mapping - Add support for @ElementCollection enhancement
...
Initial support - simple List.
2018-03-20 14:22:29 +13:00
yuanxuegui
5575273c96
ENH: Add named DtoQuery, such that we can define native SQL queries in ebean mapping xml for DtoQuery.
2018-03-19 18:04:49 +08:00
Rob Bygrave
f3251691e2
Test only change - Add test for SavePoint and compare to transaction.setRollbackOnly()
2018-03-19 09:18:00 +13:00
yuanxuegui
9d336cb20b
ENH: Add mappingsLocation config to search xml mapping files.
...
ENH: Add mappingsLocation config to search xml mapping files.
ENH: Add mappingsLocation config to search xml mapping files.
ENH: Add mappingsLocation config to search xml mapping files.
ENH: Add mappingsLocation config to search xml mapping files.
ENH: Add mappingsLocation config to search xml mapping files.
remove unused import.
ENH: Add mappingsLocation config and search xml mapping files feature.
2018-03-17 17:27:51 +08:00
Rob Bygrave
9895e48485
#1349 - Example passing test for - RawSql fetch object with inheritance / 2
2018-03-15 22:47:37 +13:00
Rob Bygrave
4799c56e25
#225 - Mapping - Add / review support for @IdClass
2018-03-15 18:19:17 +13:00
Rob Bygrave
602a35d0b6
#1348 - ENH: Add support for bitwiseAnd / bitwiseAny / bitwiseAll .. expressions for use with integer/long "Flags" properties
2018-03-14 16:23:16 +13:00
Rob Bygrave
afead2da41
#1221 - ENH: Add a merge(bean) and merge(bean, paths)
2018-03-13 23:55:47 +13:00
Rob Bygrave
607cf3156c
#1347 - Improve cleanup of inactive transactions from threadLocal when no end() used
2018-03-13 00:15:42 +13:00
Rob Bygrave
af2b8976fa
#1346 - Since ebean version 11.12.1 executing docStore query with findPagedList fails with error (due to order by id)
2018-03-12 18:28:17 +13:00
Rob Bygrave
85bfe3d03e
#1345 - Refactor io.ebean.meta.MetaInfoManager API (query execution metrics). Breaking change for people collecting query execution metrics.
2018-03-10 02:51:51 +13:00
Rob Bygrave
eda6350d89
#1344 - ENH: Add initial Cockroach DB support ... need to review JSON
...
Adds in the DB ARRAY support (exactly the same as Postgres)
2018-03-09 17:40:34 +13:00
Rob Bygrave
2042bdf29a
#1342 - Refactor and rename DbTypeConfig to Platform config to support multi-platform db migration
2018-03-08 23:23:50 +13:00
Rob Bygrave
0cc87009d0
#1340 - (test only change) Split SQL Server Platform into SqlServer16 and SqlServer17 (where 2017 which uses UTF8 types nvarchar etc and prefers Sequences).
...
Update DbMigrationGenerateTest ... for SqlServer17 platform
2018-03-08 18:37:36 +13:00
Rob Bygrave
824f5e468e
#1340 - (test only change) Split SQL Server Platform into SqlServer16 and SqlServer17 (where 2017 which uses UTF8 types nvarchar etc and prefers Sequences).
...
Reset Offline platform in DbMigrationSqlServerTest
2018-03-08 18:18:13 +13:00
Rob Bygrave
d84cdab714
#1340 - Split SQL Server Platform into SqlServer16 and SqlServer17 (where 2017 which uses UTF8 types nvarchar etc and prefers Sequences).
...
Only need to run H2 based test TestAutoCommitDataSource with H2
2018-03-08 17:45:19 +13:00
Rob Bygrave
f840cfc2ae
#1340 - Split SQL Server Platform into SqlServer16 and SqlServer17 (where 2017 which uses UTF8 types nvarchar etc and prefers Sequences).
...
test changes
2018-03-08 17:40:11 +13:00
Rob Bygrave
c0efd49c73
#1341 - Cascade persist with JDBC batch and BeanPersistAdapter with preUpdate() that invokes lazy loading on persisted bean ... results in OptimisticLockException
2018-03-08 14:12:32 +13:00
Rob Bygrave
e182190f96
#1339 - Regression: Fix for not throwing OptimisticLockException when loaded bean has @Version property set
2018-03-07 20:19:48 +13:00
Rob Bygrave
baa7242939
#1338 - Regression since 11.12.1 - resolve expressions in Properties given to serverConfig.loadFromProperties()
2018-03-07 16:43:42 +13:00
Rob Bygrave
55a257a64c
#1334 - ENH: Convert ORM query into DTO query ... with dynamic formula support
2018-03-07 01:52:18 +13:00
Rob Bygrave
a18cac035b
#1333 - ENH: Support "dynamic formula" with findSingleAttributeList() ... e.g. .select("concat(lastName,', ',firstName)")
...
Support property alias via "AS" ... concat(lastName,', ',firstName) as lastName
2018-03-06 21:14:26 +13:00
Rob Bygrave
873c14faaf
#1333 - ENH: Support "dynamic formula" with findSingleAttributeList() ... e.g. .select("concat(lastName,', ',firstName)")
...
Support cast of formula like ... select("max(updtime)::Instant")
2018-03-06 20:58:30 +13:00
Rob Bygrave
e1af7c29eb
#1333 - ENH: Support "dynamic formula" with findSingleAttributeList() ... e.g. .select("concat(lastName,', ',firstName)")
...
Concat automatically maps to String ScalarType
2018-03-06 17:35:26 +13:00
Rob Bygrave
c1c85b67c2
#1333 - ENH: Support "dynamic formula" with findSingleAttributeList() ... e.g. .select("concat(lastName,', ',firstName)")
2018-03-06 17:29:45 +13:00
Rob Bygrave
05b8adbf6e
No effective change - change test from extends testcase to normal junit
2018-03-06 16:37:47 +13:00