trojo
6778e37652
ADD: batch flash doesnt execute sql statements created in lifecycle methods
2021-01-20 17:43:14 +01:00
rob bygrave
5eac31283d
#2148 - PersistenceException: No ScalarType registered for class java.util.LinkedHashMap
2021-01-20 23:31:45 +13:00
rob bygrave
f28f5c9a01
#2146 - no change - Tidy test only TestWithCacheAndLazyLoad
2021-01-20 21:37:29 +13:00
rob bygrave
b47eec99a5
Merge branch 'cache-with-lazyload-wrong-12' of https://github.com/FOCONIS/ebean into FOCONIS-cache-with-lazyload-wrong-12
2021-01-20 20:36:18 +13:00
Robin Bygrave
4408eb618a
No change - update test only - TestHistoryOneToMany with wait for when run on windows
2021-01-20 17:11:07 +13:00
rob bygrave
0c1657fef5
#2145 - SoftDelete predicate missing on join to ManyToOne supporting predicate expression
2021-01-20 00:00:27 +13:00
Noemi Szemenyei
ee393c6485
ADD: testcase for wrong lazyload with cache
2021-01-19 11:41:19 +01:00
Roland Praml
b7feb62ecd
ADD: testcase for broken lazyload
2021-01-11 11:50:05 +01:00
rob bygrave
d8f4503d98
#2141 - Fix for failing test, revert of fix for #2127
2021-01-05 17:56:55 +13:00
Tobias
69e56be459
Failing testcase that shows wipe of all old children on save
...
When adding a child to a newly saved bean (A), all other children are
killed on save of A.
2020-12-28 15:35:15 +01:00
Tobias
fc1c9392aa
Failing testcase that shows wipe of all children on save
...
When adding a newly saved bean (A) to another bean (B), all children
in A are wiped on saving B.
2020-12-21 15:32:40 +01:00
rob bygrave
400ae3cf4b
#2138 - Mark Transaction.flushBatch() as deprecated - migrate to flush();
2020-12-21 14:58:04 +13:00
rob bygrave
e98ff952bf
#2137 - Expected Transaction flush on SqlQuery and DtoQuery not occurring
2020-12-21 14:11:28 +13:00
rob bygrave
1bdc6d8f7f
#2134 - Modify ChangeLog to send the last set of changes Pre Commit (rather than post commit). Expose this for spring transactions.
2020-12-18 14:54:44 +13:00
Rob Bygrave and GitHub
55324653a5
#2127 - Adding a new list of children to @OneToMany with orphanRemoval true does not delete existing orphans ( #2131 )
2020-12-16 15:36:44 +13:00
rob bygrave
7389a8b344
#2124 - ENH: Add name() attribute to @DbArray, @DbJson, @DbJsonB, @DbMap
2020-12-07 22:46:04 +13:00
rob bygrave
d68f477e8e
#2120 - DbEnumValue without database constraint
2020-12-07 21:53:03 +13:00
rob bygrave
1a4377da29
Improve tests TestQueryForUpdate and TestSoftDeleteBasic
2020-12-07 13:29:47 +13:00
rob bygrave
c3cdecaa60
Fix test TestSqlUpdateBatch with correct bind type for Postgres
2020-12-07 10:06:15 +13:00
rob bygrave
365b7c4600
#2122 - Metrics for ElementCollection query not included in reporting (via MetaInfoManager)
2020-12-04 20:41:40 +13:00
Rob Bygrave and GitHub
c66875449b
Add Query.withLock(LockType) and withLock(LockType, LockWait) ( #2116 )
...
Add Query.withLock(LockType) and withLock(LockType, LockWait)
2020-12-01 21:31:53 +13:00
rob bygrave
f6c4024ae5
No effective change - tidy test only, TestStatelessUpdate
2020-12-01 21:17:19 +13:00
rob bygrave
2c8cc793ab
No effective change - tidy test only, TestStatelessUpdate
2020-12-01 14:29:37 +13:00
rob bygrave
838af0478e
#2113 - Refactor rename Query.LockType enum names
2020-11-25 22:32:59 +13:00
Rob Bygrave and GitHub
8e91268979
#2110 Part2 - addBatch() does not auto flush ( #2115 )
2020-11-25 22:18:05 +13:00
rob bygrave
cc637d56e1
Tidy tests only TestInsertSqlLogging and TestSqlUpdateExceptions
2020-11-25 21:11:16 +13:00
Rob Bygrave and GitHub
9846ebd65d
Merge pull request #2112 from ebean-orm/FOCONIS-bug-ebean/sql_update_batch_flush
...
2110 - Fix and test for executeBatch() on SqlUpdate
2020-11-25 20:40:02 +13:00
rob bygrave
5c34b0daa5
Add support for Postgres lock types (no key, share, key share) with FOR UPDATE
2020-11-24 23:36:54 +13:00
Rob Bygrave and GitHub
21f43dc395
Merge pull request #2107 from ebean-orm/feature/ModifyAwareType
...
Refactor io.ebeaninternal.json.ModifyAwareOwner to io.ebean.ModifyAwareType
2020-11-24 22:05:04 +13:00
rob bygrave
5082ce4280
#2089 Postgres - Support NO KEY option with FOR UPDATE clauses with Postgres
2020-11-24 22:02:06 +13:00
Rob Bygrave and GitHub
ed061fb3b1
Merge pull request #2090 from ebean-orm/feature/2089
...
#2089 - Postgres - Use NO KEY with FOR UPDATE clauses with Postgres
2020-11-24 21:49:28 +13:00
rob bygrave
247e96f5db
#2110 - Fix for executeBatch() on SqlUpdate + refactor
...
- Changes to generally not close BatchedPstmt on executeBatch() and instead closed on commit/rollback
2020-11-24 16:40:10 +13:00
Jonas Pöhler (JPo)
ce60eac583
ADD: failing testcases for executeBatch() on SqlUpdate
...
Signed-off-by: Jonas Pöhler (JPo) <jonas.poehler@foconis.de >
2020-11-20 15:56:08 +01:00
rob bygrave
dcfada0b52
Refactor io.ebeaninternal.json.ModifyAwareOwner to io.ebean.ModifyAwareType
...
- Rename ModifyAwareOwner to ModifyAwareType
- Move to io.ebean (making it properly public)
- Remove the requirement for Serializable
- Simplify to effectively a getter/setter pair (dirty state flag)
- Simplify to reset the dirty state flag via
2020-11-19 21:50:29 +13:00
rob bygrave
30a00cb092
#2105 - Refactor extract ebean-core-type module
...
- Move ScalarType, DataBinder, DataReader, ExtraTypeFactory to ebean-core-type module
- Update the ebean-postgis and other modules
2020-11-19 16:10:00 +13:00
rob bygrave
c044bc52f7
#2089 - Postgres - Use NO KEY with FOR UPDATE clauses with Postgres
2020-10-22 16:37:18 +13:00
rob bygrave
0abcc9e06e
#2085 - Refactor promote getDataSource() and getReadOnlyDataSource() to Database from plugin.SpiServer interface
2020-10-20 12:08:21 +13:00
rob bygrave
4a594b32ef
Refactor modify SpiServer to extend Database (rather than EbeanServer)
2020-10-20 11:36:01 +13:00
rob bygrave
8b9f760cb2
Update tests for DatabaseFactory.create() with shutdown
2020-10-19 12:12:00 +13:00
rob bygrave
8c7a84be9c
No effective change - tidy tests that create unregistered Database instances (shutdown)
2020-10-16 16:04:52 +13:00
rob bygrave
064b3ceaa4
#2080 - Refactor convert from sychronized to ReentrantLock
...
DatabaseFactory, DbPrimary, ScalarTypeArrayList etc
2020-10-16 00:46:13 +13:00
rob bygrave
49b1bd54c3
#2075 - Refactor external mapping (i.e. named queries from ebean.xml etc) - extract api and separate module
2020-10-12 14:54:25 +13:00
rob bygrave
77995fda0a
#2065 - Fix missed tests for - Refactor SQL generation - remove excess whitespace
2020-10-09 10:17:23 +13:00
rob bygrave
d113ddc525
#2067 - Extract ebean-autotune into separate module
2020-10-08 23:34:56 +13:00
Rob Bygrave and GitHub
7c36439daf
Refactor move into ebean-core directory ( #2066 )
2020-10-08 21:31:18 +13:00