rob bygrave
7f9ce5bdd4
#1396 merge() with ManyToMany throwing error Referential integrity constraint violation
2018-05-30 03:32:38 +12:00
rob bygrave
23e5de0819
#1394 #1395 - ENH: Add addBatch() and executeBatch() to SqlUpdate ... alternative to changing transaction batch mode enhancement
2018-05-30 03:32:23 +12:00
rob bygrave
af030e3da4
#1394 #1395 - ENH: Add addBatch() and executeBatch() to SqlUpdate ... alternative to changing transaction batch mode enhancement
...
ENH: Add merge() API (using default merge options) to EbeanServer, Ebean and BeanRepository enhancement
2018-05-30 03:31:32 +12:00
rob bygrave
9a096e272e
#1392 - MergeOptionsBuilder setClientGeneratedIds() ... should not be required if the Id property does not have Identity/Sequence generator assigned
2018-05-29 15:24:32 +12:00
rob bygrave
21e87e12cb
Adjust test for #1391 ... such that OrganizationTreeNode has at least one db column as part of insert (for PG)
2018-05-29 13:38:17 +12:00
chrishartl and Roland Praml
bccb9f8ddb
Fix/create reference with descriptor using inheritance ( #13 )
...
* FIXED: Discriminator must be ask for inherited classes
* Fixed: Compile
* Refactoring and Testing
2018-05-28 16:54:53 +02:00
rob bygrave
141a0d9358
#1390 - ENH: Support explicit @Id @GeneratedValue ... mapping (where absence of @GeneratedValue means externally supplied id values)
2018-05-29 00:35:31 +12:00
Roland Praml and Rob Bygrave
5a7f24da5d
FIX: jsonRead of transient maps ( #1389 )
...
FIX: jsonRead of transient maps - to skip the read of start_array - Avoid error "Unexpected token start_object - expecting start_array "
2018-05-28 23:06:45 +12:00
rob bygrave
33ec8abb9d
No effective change - update test remove unused exception
2018-05-27 17:38:33 +12:00
rob bygrave
ae58d9223a
No effective change - add test for PrimaryKeyJoinColumn - insertWithoutExtra
2018-05-24 00:07:30 +12:00
Roland Praml and Rob Bygrave
41a31c1aa0
trigger based history will recreate view properly and handle default … ( #1370 )
...
* trigger based history will recreate view properly and handle default value also for history view
* HistoryTriggers are generated at the end
* Reference Script
* MYSQL: lock all tables at once
2018-05-20 17:19:10 +12:00
Roland Praml and Rob Bygrave
ab301f970c
FIX: correct caching when collection with different inherited beans is put to the cache ( #1379 )
...
* FIX: correct cahcing when collection with different inherited beans is put to the cache
* removed some sysouts
2018-05-20 16:53:56 +12:00
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