Rob Bygrave
67a4e66b00
[maven-release-plugin] rollback the release of ebean-parent-13.6.0
2022-05-03 15:07:55 +12:00
Rob Bygrave
0d1d212f9f
[maven-release-plugin] prepare for next development iteration
2022-05-03 14:59:36 +12:00
Rob Bygrave
f44c77f5f5
[maven-release-plugin] prepare release ebean-parent-13.6.0
2022-05-03 14:59:29 +12:00
Rob Bygrave
ebbef86def
Merge pull request #2626 from ebean-orm/wip/EntityBeanIntercept-interface
...
Support EntityBeanIntercept as an interface with InterceptReadWrite and InterceptReadOnly options
2022-05-03 14:15:49 +12:00
Rob Bygrave
1365e39e94
Merge pull request #2681 from ebean-orm/feature/2647
...
#2647 - When Postgres + isAllQuotedIdentifiers true + using DataSourceConfig THEN `datasourceConfig.addProperty("quoteReturningIdentifiers", false);`
2022-05-03 13:38:10 +12:00
Rob Bygrave
a73eb1c42f
Merge pull request #2648 from ebean-orm/feature/bump-classpathscanner
...
Bump avaje classpath scanner to 7.1, ignores module-info, uses System.Logger (not slf4j-api)
2022-05-03 13:36:39 +12:00
Rob Bygrave
1d4f2ad856
#2626 - Add final modifier to methods - For readOnly disableLazyLoad using Collections.EMPTY_LIST etc
2022-05-03 12:23:22 +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
244f336f54
#2647 - When Postgres + isAllQuotedIdentifiers true + using DataSourceConfig THEN datasourceConfig.addProperty("quoteReturningIdentifiers", false);
...
I think there is not a case where we do NOT want to do this. allQuotedIdentifiers + Postgres is almost not usable without this.
2022-05-03 10:15:07 +12:00
Rob Bygrave
d6a65e4e66
Bump to 13.6.0-SNAPSHOT
2022-05-02 22:31:32 +12:00
Rob Bygrave
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
2cf83278ea
#2677 - Change trimOnPut to be 10% of max or 1_000.
...
Can look to provide an explicit option via `@CacheBeanTuning` later.
2022-05-02 22:19:37 +12:00
Rob Bygrave
5c332286b6
#2677 - Add ReentrantLock for DefaultServerCache.runEviction() and trigger runEviction() via mutationCounter
...
If we get a lot of cache mutation (puts) between background trims then also trigger runEviction() in foreground using mutationCounter.
2022-05-02 21:48:58 +12:00
Rob Bygrave
1cd319c495
#2677 - Add try catch around DefaultServerCache.runEviction()
...
If there is an unexpected error we expect it to be temporary and want runEviction() to keep executing.
2022-05-02 20:51:33 +12:00
Rob Bygrave
d036edf7fd
#2677 - Fix for trim failing on mutation of lastAccessTime
...
Currently, lastAccessTime can mutate during cache trim processing. This fixes this issue by taking a copy of the lastAccessTime storing as lastAccessSort and using that for sorting for cache trim.
2022-05-02 20:31:10 +12:00
Rob Bygrave
4d4f8e2c4b
Modify DefaultOrmQuery to have non-final copy() methods to allow ebean-mocker to be updated
2022-05-02 18:01:25 +12:00
Rob Bygrave
d2a742fefb
[maven-release-plugin] prepare for next development iteration
2022-04-28 17:42:12 +12:00
Rob Bygrave
22de23ddf4
[maven-release-plugin] prepare release ebean-parent-13.5.0
2022-04-28 17:42:05 +12:00
Rob Bygrave
38803aa7f8
Bump to 13.5.0-SNAPSHOT
2022-04-28 10:33:41 +12:00
Rob Bygrave
45233e96ab
#2673 - Bug introduced in 13.3.1 via #2652 - incorrect binding of history query with SQL2011 standards based queries
2022-04-27 22:48:02 +12:00
Rob Bygrave
786286421d
[maven-release-plugin] prepare for next development iteration
2022-04-27 09:13:48 +12:00
Rob Bygrave
b517551352
[maven-release-plugin] prepare release ebean-parent-13.4.1
2022-04-27 09:13:41 +12:00
Rob Bygrave
b21123343f
[maven-release-plugin] prepare for next development iteration
2022-04-21 13:30:00 +12:00
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
5b9ca2933f
Fix: CompareTo when discriminatorString is null
...
- Fix for regression introduced by #2646 in version 13.3.1
- Replaces PR #2664
2022-04-21 09:53:06 +12:00
Rob Bygrave
cacbee5fd5
Refactor tidy NodeUsageCollector, remove unused loadProperty and unnecessary WeakReference for State.listener
2022-04-21 08:59:53 +12:00
Rob Bygrave
4d21fbfcf8
#2663 - No effective change - Tidy Query interface with default methods
2022-04-20 21:49:06 +12:00
Rob Bygrave
76b02ff56a
Tidy internals, use cls.getDeclaredConstructor().newInstance();
2022-04-20 21:42:09 +12:00
Rob Bygrave
846afba724
Remove incorrect @Deprecated from internal DefaultOrmQuery
2022-04-20 21:14:44 +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
50e13c4c99
Tidy imports only on DeleteIdRequest
2022-04-20 18:50:47 +12:00
Rob Bygrave
e20a2269ae
Remove deprecated methods from BackgroundExecutor, migrate executePeriodically() -> scheduleWithFixedDelay()
...
All removed methods are renamed. Migrate to use the renamed method.
2022-04-20 18:34:33 +12:00
Rob Bygrave
a270caf605
Remove deprecated methods from BeanPersistRequest, BeanQueryRequest, BeanDeleteIdRequest
...
All removed methods are renamed. Migrate to use the renamed method.
2022-04-20 18:26:34 +12:00
Rob Bygrave
ffb292dcd5
Remove deprecated methods from Transaction, migrate setBatchGetGeneratedKeys() -> setGetGeneratedKeys() etc
...
All removed methods are renamed. Migrate to use the renamed method.
2022-04-20 18:15:40 +12:00
Rob Bygrave
f01e60094f
#2655 - Remove JndiDataSourceLookup - app perform JNDI lookup if needed
2022-04-20 17:45:25 +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
b2349bb044
Fix test InitDataSourceTest to use public API
2022-04-20 10:50:39 +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
Rob Bygrave
6b81dbbaa2
Bump avaje classpath scanner to 7.1, ignores module-info, uses System.Logger (not slf4j-api)
2022-04-14 12:40:49 +12:00
Rob Bygrave
9862526352
Merge branch 'master' into wip/EntityBeanIntercept-interface
2022-04-13 10:43:13 +12:00
Rob Bygrave
493e2d7463
Merge pull request #2646 from FOCONIS/sort-inherit
...
Produce deterministic DDL if @Inheritance is used
2022-04-13 10:29:57 +12: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
45003b3d5f
Merge branch 'master' into wip/EntityBeanIntercept-interface
2022-04-12 21:09:58 +12:00