Rob Bygrave
c59475084a
#2686 - [ebean-test] Allow docker configuration options to be at ebean.test.X as well as ebean.test.<platform>.X
2022-05-05 20:54:07 +12:00
Rob Bygrave
f41704b58c
#2685 - Bump ebean-test-docker to 5.1 with newBuilder() -> builder() with deprecation
2022-05-05 09:17:35 +12:00
Rob Bygrave
84042397b6
#2626 - For readOnly disableLazyLoad using Collections.EMPTY_LIST etc for reference collections
2022-05-03 12:12:47 +12:00
Rob Bygrave
d1b5400f2c
Merge branch 'master' into wip/EntityBeanIntercept-interface
2022-05-03 10:45:45 +12:00
Rob Bygrave and GitHub
ea5b4e9271
Merge pull request #2662 from ebean-orm/feature/deprecated-remove-Ebean
...
Remove deprecated Ebean, EbeanServer, EbeanServerFactory, ServerConfig migrate to DB, Database, DatabaseFactory, DatabaseConfig
2022-05-02 22:27:57 +12:00
Rob Bygrave
b18226711b
Bump to ebean-test-docker 5.0-RC1
2022-04-29 16:43:48 +12:00
Rob Bygrave
d34da06840
Remove deprecated Ebean, EbeanServer, EbeanServerFactory, ServerConfig migrate to DB, Database, DatabaseFactory, DatabaseConfig
2022-04-20 20:46:53 +12:00
Rob Bygrave
a4fc61549f
Remove deprecated methods from FetchConfig, migrate new FetchConfig().query(50) -> FetchConfig.ofQuery(50)
2022-04-20 18:02:10 +12:00
Rob Bygrave
c766756efe
Improve test TestHistoryOneToOne
2022-04-20 10:02:11 +12:00
Rob Bygrave and GitHub
0e6c6965f0
Merge pull request #2654 from FOCONIS/file-dirty-detection
...
Fix: Setting file with same content should not make bean dirty
2022-04-19 22:30:15 +12:00
Rob Bygrave
7a17cd0797
Tidy DefaultDbSqlContext, remove excess space from sql left join, tidy whitespace
2022-04-19 15:44:08 +12:00
Rob Bygrave
756e3e4a1c
#2651 - @OneToOne with @History, add fix and update tests
...
Effectively Ebean internally needs to keep a count on the number of times AS OF predicates are added (to joins + top level table). This change moves keeping that count for all joins to DbSqlContext.
2022-04-19 15:02:50 +12:00
Roland Praml
669d004d1b
Fix: Setting file with same content should not make bean dirty
...
(cherry picked from commit 62c4acd36a )
2022-04-14 15:12:45 +02:00
Tobias
67fc7cdb48
Test case for lazy @OneToOne beans with @History
...
Ebean produces an invalid query when trying to lazy load @OneToOne
from a historical bean. This test asserts working behaviour.
2022-04-14 10:17:45 +02:00
Rob Bygrave and GitHub
9862526352
Merge branch 'master' into wip/EntityBeanIntercept-interface
2022-04-13 10:43:13 +12:00
Roland Praml
8c800e992d
Fix beanCache order by & clear did not work
...
(cherry picked from commit 4dee827fda )
2022-04-12 13:51:49 +02:00
Rob Bygrave and GitHub
45003b3d5f
Merge branch 'master' into wip/EntityBeanIntercept-interface
2022-04-12 21:09:58 +12:00
Rob Bygrave and GitHub
2aba1835f1
ebean-test - Fix AutoConfigureForTesting to skip configuration for non-default DatabaseConfig ( #2644 )
...
#2644 - ebean-test - Fix AutoConfigureForTesting to skip configuration for non-default DatabaseConfig
2022-04-12 17:36:25 +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
daf5220766
#2635 Remove deprecated methods from Database - createSqlQuery() -> sqlQuery(), createSqlUpdate() -> sqlUpdate()
2022-04-06 22:36:31 +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
c4a3f43e0d
#2623 - CurrentTenantProvider called even when table has no tenantId column specified
2022-03-31 16:54:45 +13:00
Rob Bygrave
24d8f38b1d
#2374 - Bump to Java 11 and module-path
2022-03-31 08:42:14 +13: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
Rob Bygrave and GitHub
3e4d7c9b5a
Merge pull request #2617 from FOCONIS/json-update-existing
...
ENH: JsonContext accepts a bean as target
2022-03-29 08:38:29 +13:00
Roland Praml
ffeb630e7e
JsonContext accepts a bean as target
2022-03-28 15:38:44 +02:00
Roland Praml
7666775d1a
Suggested changes (no code change)
2022-03-28 14:39:12 +02:00
Rob Bygrave
dcd3bfee4c
Fix test ConfigTest such that it doesn't set the RunOnceMarker
...
When tests are run using for example -Dprops.file=testconfig/ebean-postgres.properties ... then we want ebean-test AutoConfigureForTesting to run and setup the default datasource appropriately. If ConfigTest runs before that then it sets the RunOnceMarker and the default datasource isn't adjusted
2022-03-28 09:12:13 +13:00
Rob Bygrave
b85bb5f459
Refactor tests, move some unit tests to ebean-api
2022-03-27 20:31:17 +13:00
Rob Bygrave
426d314e63
Refactor tests, move internal type tests to ebean-core
2022-03-27 20:20:35 +13:00
Rob Bygrave
e3e5414157
Refactor tests, move some internal expression tests to ebean-core
2022-03-27 19:55:34 +13:00
Rob Bygrave
28088a5e54
Refactor tests, move some internal deploy tests to ebean-core
2022-03-27 17:44:43 +13:00
Rob Bygrave
2acdf2f4bf
Refactor tests, move some internal core tests to ebean-core
2022-03-27 17:06:52 +13:00
Rob Bygrave
785a027dd6
Refactor tests, move some cache tests to ebean-core
2022-03-27 16:49:28 +13:00
Rob Bygrave
88005dbe09
Refactor tests, move changelog tests
2022-03-25 18:44:24 +13:00
Rob Bygrave
88acd8190a
Refactor tests, move db migration tests
2022-03-25 18:23:23 +13:00
Rob Bygrave
72963bc9fb
Refactor tests, move DbPrimaryTest to ebean-api
2022-03-25 18:07:29 +13:00
Roland Praml
c40b9738d1
No effective code change: Removed unused imports
2022-03-24 09:23:39 +01: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
Rob Bygrave
17f408681c
No functional change - final methods on internal RsetDataReader
2022-03-24 12:01:22 +13:00
Rob Bygrave
79213e7194
Merge branch 'master' of github.com:ebean-orm/ebean
2022-03-23 22:29:16 +13:00
Roland Praml
3e4cc3b3d6
Add tablespace support for DB2
2022-03-22 17:03:38 +01:00
Roland Praml
f1950d479e
Added testcase with upper and lower case characters
2022-03-22 10:43:34 +01:00
Roland Praml
04d2a20945
Add testcase, that uses all kinds of reserved keywords
2022-03-21 13:48:48 +01:00