Rob Bygrave and GitHub
45003b3d5f
Merge branch 'master' into wip/EntityBeanIntercept-interface
2022-04-12 21:09:58 +12:00
Rob Bygrave
183b601be8
#2641 - toString() - Change BeanCollection toString() implementations, suppress unloaded BeanCollections
2022-04-08 18:53:57 +12:00
Rob Bygrave
f5a779e18b
Refactor L2 cache tenant awareness - add TenantAwareCache
...
The design change is to use TenantAwareCache to deal with wrap/unwrap of tenant aware keys, removing any tenant awareness from the underlying cache implementations (DefaultServerCache, redis, hazelcast etc).
2022-04-07 15:26:21 +12:00
Rob Bygrave
c7ad5c5981
#2636 - Remove deprecated @CreatedTimestamp and @UpdateTimestamp, migrate to @WhenCreated / @WhenModified
2022-04-06 22:17:33 +12:00
Rob Bygrave
48d7e79b16
Remove deprecated findLargeStream(), migrate to findStream()
...
findLargeStream() became no longer become needed due to improvements in the persistence context. Migrate to just use findStream() instead.
2022-04-06 18:17:25 +12:00
Rob Bygrave
5ab02715ef
Support EntityBeanIntercept as an interface with InterceptReadWrite and InterceptReadOnly options
...
With the view that we can optimise the readOnly + disableLazyLoad case by using InterceptReadOnly which doesn't need to support any of the flags used as part of mutation.
2022-04-04 13:30:26 +12:00
Rob Bygrave
e71e16c1ee
Refactor extract separate modules for each platform from ebean-api dbplatform
2022-03-30 17:11:36 +13:00
Rob Bygrave
4cad515110
#2619 - Lack of setNullParameter() functionality on io.ebean.SqlQuery interface
2022-03-29 22:41:36 +13:00
Roland Praml
ffeb630e7e
JsonContext accepts a bean as target
2022-03-28 15:38:44 +02:00
Rob Bygrave
84a64f9640
Refactor tests, move BaseTestCase and annotations @ForPlatform @IgnorePlatform
2022-03-24 18:52:37 +13:00
Rob Bygrave
e4c06432a0
Move some more unit tests from ebean-test back to ebean-core
2022-03-24 18:48:59 +13:00
Rob Bygrave
f58d6038c7
Move some unit tests from ebean-test back to ebean-core
2022-03-24 18:21:48 +13:00
Roland Praml
ab6f5daec3
FIX LargeValueInsert-Test for DB2
2022-03-17 13:26:54 +01:00
Rob Bygrave
d4d1e571d3
Fix test assert for multi-database
2022-03-16 22:37:54 +13:00
Rob Bygrave
92e85e32a2
#2598 - H2 + @Lob String fails with - Error[Value too long for column "CHARACTER VARYING": "... (1048577)" [22001-210]]
2022-03-16 22:13:52 +13:00
Rob Bygrave and GitHub
00a1324c52
Merge pull request #2596 from FOCONIS/ddl-refactor8
...
DDl-Refactor: Add DB2 Reorg support and history support
2022-03-16 18:47:58 +13:00
Rob Bygrave
75b9df942c
No effective change - tidy TestWithCacheAndLazyLoad
2022-03-16 18:38:47 +13:00
Roland Praml
79f6d6d0f0
Ignored query plans for DB2
2022-03-15 17:18:34 +01:00
Roland Praml
782e41098d
enabled history tests
2022-03-15 16:56:00 +01:00
Noemi Szemenyei
8ad8f47c6b
Created failing test case
...
(cherry picked from commit 2b21588c90 )
2022-03-15 13:20:16 +01:00
Rob Bygrave
fd4be0ca59
#2593 - Tidy SqlTreeBuilder to not add duplicate BeanProperties
2022-03-14 16:16:14 +13:00
Rob Bygrave
1615beadd1
Merge branch 'master' of github.com:ebean-orm/ebean
2022-03-14 15:37:52 +13:00
Rob Bygrave
267b1b7303
#2580 - Fix for Wrong join in query with @Inheritance
...
Effectively delays an extra join added via BeanPropertyAssocOne with inheritance, such that this only occurs if a SqlTreeNode child doesn't add the join.
2022-03-14 15:37:12 +13:00
Rob Bygrave
c902caed24
Fix is to delay the extra join added via BeanPropertyAssocOne until after the children nodes have joined.
...
In this way the join is ONLY added if not already done so via a child node (SqlTreeNode).
2022-03-14 15:32:42 +13:00
Noemi Szemenyei
6867c4568c
fix db.shutdown()
...
(cherry picked from commit 33d17d0f49 )
2022-03-11 13:32:08 +01:00
Noemi Szemenyei
e0e572a8b4
update
...
(cherry picked from commit dab8ed8a3b )
2022-03-11 13:31:58 +01:00
Noemi Szemenyei
3c7555de36
Provide custom BackgroundExecutorWrapper to pass thread locals
...
(cherry picked from commit 336accf447 )
2022-03-11 13:31:50 +01:00
Rob Bygrave
8e44ad71e8
Merge branch 'Bug-wrong-join-inheritance-dbforeignkey' of https://github.com/FOCONIS/ebean into FOCONIS-Bug-wrong-join-inheritance-dbforeignkey
2022-03-10 16:24:14 +13:00
Rob Bygrave
febd56c9c0
#2581 - SoftDelete on @OneToMany is ignored after refresh() (since 12.11.5)
2022-03-10 16:19:11 +13:00
Alexander Wagner
9b8f7be98f
Bug: Wrong join in query with @Inheritance and @DbForeignKey
...
(cherry picked from commit 4bcadbb4da3f0defbcc58802e621442d948df38a)
2022-03-02 11:50:57 +01:00
Roland Praml
1ca5789112
Removed unused imports and add missing Override statements (no effective code change)
2022-02-24 08:03:26 +01:00
Alexander Wagner
90066eee0c
Possible fix
2022-02-11 10:31:24 +01:00
Alexander Wagner
3bb6f0ca65
Bug: save with cascade of @OneToOne + @Version model sets version to 1
...
(cherry picked from commit 1570e1800d )
2022-02-08 16:08:13 +01:00
Rob Bygrave
b8b83c2ec8
Update more tests for CockroachDB
2022-02-04 16:59:16 +13:00
Rob Bygrave
b3f110b7a5
CockroachDB - Modify tests, use BigDecimal over Double etc
2022-02-04 10:42:07 +13:00
Rob Bygrave
daf0ba67a4
#2547 - CockroachDB - Use ON DISTINCT ... like Postgres and Yugabyte
2022-02-04 08:58:21 +13:00
Rob Bygrave
94951a5476
Yugabyte - use distinct on clause with Yugabyte (like Postgres)
2022-02-02 23:38:50 +13:00
Rob Bygrave
389f2bcd2f
Modify tests to use isPostgresCompatible() (to effectively include Yugabyte)
2022-02-02 23:25:13 +13:00
Rob Bygrave
4899f23773
Yugabyte - Use MultiValueBind like Postgres (that is, ANY(?) clause in sqlQuery/sqlUpdate)
2022-02-02 23:02:32 +13:00
Rob Bygrave
d6a8643fe4
Support @DbArray of BigDecimal
2022-02-02 22:22:42 +13:00
Rob Bygrave
57f6668b37
Support @DbArray of BigDecimal
2022-02-02 21:57:39 +13:00
Rob Bygrave
17fed0ebd8
Tidy test only - TestNestedBeginRequiresNew
2022-02-01 15:18:06 +13:00
Rob Bygrave
bc477c64cb
Yugabyte - Disable commit and continue test for Yugabyte (failing occasionally, need to review)
2022-02-01 11:53:03 +13:00
Rob Bygrave
804098149e
Yugabyte - Tidy tests with element collections not maintaining ordering
2022-02-01 11:51:46 +13:00
Rob Bygrave
567ad92050
Yugabyte - Tidy tests
2022-02-01 10:41:29 +13:00
Rob Bygrave
b4ddbe38ee
Yugabyte - Fix some tests for running against Yugabyte
2022-02-01 09:49:23 +13:00
Rob Bygrave and GitHub
75a27fa2d6
Merge pull request #2511 from FOCONIS/unselect-lobs
...
Unselect LOBs when making a distinct select
2022-01-29 15:25:00 +13:00
Rob Bygrave and GitHub
cc1c08cd34
Merge pull request #2528 from FOCONIS/db2/disabled-tests
...
DB2 Fix tests for DB2
2022-01-29 15:19:01 +13:00
Rob Bygrave and GitHub
a9560c6664
Merge pull request #2523 from FOCONIS/db2/sqllimiter
...
DB2: FIX Db2SqlLimiter & tests
2022-01-29 15:11:33 +13:00
Rob Bygrave and GitHub
5a024ea19f
Merge pull request #2519 from FOCONIS/db2/fix-default-values
...
DB2: Fix default values for auto generated ids
2022-01-29 15:06:54 +13:00