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
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
Roland Praml
a8ad93823a
Removed 'lowerTableName' and 'lowerColumnName'
2022-03-18 08:56:43 +01:00
Roland Praml
ab6f5daec3
FIX LargeValueInsert-Test for DB2
2022-03-17 13:26:54 +01:00
Roland Praml
8f746196ab
Support for extra colum options for DB2
2022-03-17 13:11:48 +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
Rob Bygrave
3a1e1e23f5
Merge branch 'lazyload-npe' of https://github.com/FOCONIS/ebean into FOCONIS-lazyload-npe
2022-03-16 18:14:22 +13:00
Rob Bygrave
d9ea465102
Support running tests against java 19
2022-03-16 18:02:07 +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
Roland Praml
c9204eed3f
DB2: HistorySupport added
2022-03-15 15:59:33 +01:00
Noemi Szemenyei
8ad8f47c6b
Created failing test case
...
(cherry picked from commit 2b21588c90 )
2022-03-15 13:20:16 +01:00
Roland Praml
d629fb2dbd
MariaDB uses '@@system_versioning_alter_history = 1' now. Removed obsolete "lock tables" statements
2022-03-14 14:01:21 +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