Rob Bygrave
303f63fe5e
[maven-release-plugin] prepare release ebean-parent-13.4.0
2022-04-21 13:29:54 +12:00
Rob Bygrave
5245ef597d
Bump to 13.4.0-SNAPSHOT
2022-04-21 10:28:01 +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
c4eece36d3
[maven-release-plugin] prepare for next development iteration
2022-04-20 12:09:16 +12:00
Rob Bygrave
385867b9f5
[maven-release-plugin] prepare release ebean-parent-13.3.1
2022-04-20 12:09:09 +12:00
Rob Bygrave
c766756efe
Improve test TestHistoryOneToOne
2022-04-20 10:02:11 +12:00
Rob Bygrave
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
ea30c1d43b
Merge pull request #2645 from FOCONIS/sort-beancache
...
NPE executing query with beanCache and order by & clear
2022-04-13 10:23:28 +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
526e476ba1
[maven-release-plugin] prepare for next development iteration
2022-04-12 21:23:12 +12:00
Rob Bygrave
bdc936b63b
[maven-release-plugin] prepare release ebean-parent-13.3.0
2022-04-12 21:23:05 +12:00
Rob Bygrave
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
4b8eadad1c
Bump to 13.3.0-SNAPSHOT
2022-04-11 14:00:45 +12:00
Rob Bygrave
21c2232d96
#2641 - Bump ebean-agent for toString() implementation
2022-04-11 13:42:56 +12:00
Rob Bygrave
119b2d4638
#2643 - Bump dependencies h2database -> 2.1.212 ebean-test-docker -> 4.6
2022-04-11 12:50:46 +12:00
Rob Bygrave
183b601be8
#2641 - toString() - Change BeanCollection toString() implementations, suppress unloaded BeanCollections
2022-04-08 18:53:57 +12:00
Rob Bygrave
73dd4a5648
[maven-release-plugin] prepare for next development iteration
2022-04-07 18:13:48 +12:00
Rob Bygrave
6802fe9e02
[maven-release-plugin] prepare release ebean-parent-13.2.0
2022-04-07 18:13:41 +12:00
Rob Bygrave
aa351e919d
Bump to 13.2.0-SNAPSHOT
2022-04-07 18:03:58 +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
bee476ecf6
[maven-release-plugin] prepare for next development iteration
2022-04-06 21:55:18 +12:00
Rob Bygrave
ddebb8a6b0
[maven-release-plugin] prepare release ebean-parent-13.1.0
2022-04-06 21:55:12 +12:00
Rob Bygrave
fe99212596
Bump to 13.1.0-SNAPSHOT
2022-04-06 21:47:19 +12:00
Rob Bygrave
8cbd98757e
#2627 - ebean-agent - bump to ASM 9.3, support Java 19 bytecode
2022-04-06 21:39:06 +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
0b56aaf991
[maven-release-plugin] prepare for next development iteration
2022-03-31 14:17:10 +13:00
Rob Bygrave
75f0a6815f
[maven-release-plugin] prepare release ebean-parent-13.0.0
2022-03-31 14:17:03 +13:00
Rob Bygrave
7dca282eb6
Bump to 13.0.0-SNAPSHOT
2022-03-31 14:04:54 +13:00
Rob Bygrave
587d673684
Adding requires com.fasterxml.jackson.annotation and ebean-test needs jupiter as provided scope
...
Interesting these changes are required for compilation against Java 11, not required for Java 17+.
2022-03-31 09:17:22 +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
d31aa2b24c
[maven-release-plugin] prepare for next development iteration
2022-03-29 22:49:50 +13:00
Rob Bygrave
d834817dc2
[maven-release-plugin] prepare release ebean-parent-12.16.1
2022-03-29 22:49:42 +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
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
5c3b680c8a
#2612 - Incorrect DDL generation for MySql on history tables that use quoted identifiers
2022-03-28 13:05:59 +13: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