Rob Bygrave
36d589d4f3
#2691 - Improve logging summary when insert bean with no @Id ...
2022-05-16 11:30:36 +12:00
Rob Bygrave
dedafa0b93
Modify GH WF EA builds adding mvn --version ... for info on versions used for build
2022-05-13 13:58:13 +12:00
Rob Bygrave
7b91b9ec48
Merge pull request #2690 from ebean-orm/bug/orphan-collection-replacement
...
Bug - OneToMany orphanRemoval = true, replace collection adding back …
2022-05-13 12:13:19 +12:00
Rob Bygrave
c5940dacf1
Merge pull request #2688 from ebean-orm/feature/test-docker-52
...
Bump to ebean-test-docker 5.3
2022-05-13 11:42:33 +12:00
Rob Bygrave
a4df643d82
#2690 - Refactor internals, tidy SaveManyBeans
...
- Introduce hasOrderColumn field
- Add clearedParent flag to only clear the parent bean from persistence context once (not per detail bean)
2022-05-13 11:38:39 +12:00
Rob Bygrave
74174444bb
Bug - OneToMany orphanRemoval = true, replace collection adding back original collection entry
...
- Adding back a bean from the original collection
- Expect that bean to exist in the final result but, it's missing
Fix here is in SaveManyBeans to add a insertAllChildren and use ebi.setNew(); for beans to force them to insert for this case.
2022-05-12 23:14:26 +12:00
Rob Bygrave
317ad8de9c
Bump to ebean-test-docker 5.3
...
- Supports random ports
- Simplified shutdownMode
- Improved logging on shutdown
2022-05-12 18:43:38 +12:00
Rob Bygrave
4b260483ce
Test only - Adjust timing in TestHistoryInsert.mariadb_simple_history()
2022-05-12 17:14:20 +12:00
Rob Bygrave
6a575cb1bf
Change ebean-test postgis image to postgis/postgis from mdillon/postgis
...
- Also bump default version to 14
2022-05-12 17:05:23 +12:00
Rob Bygrave
a13e1cf074
Bump to ebean-test-docker 5.2
...
- Supports random ports
- Simplified shutdownMode
2022-05-12 16:43:41 +12:00
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
5bb9745b3c
Bump to 13.6.1-SNAPSHOT after release
2022-05-03 15:36:03 +12:00
Rob Bygrave
1c072f1d0a
[maven-release-plugin] prepare for next development iteration
2022-05-03 15:13:20 +12:00
Rob Bygrave
bac7eb11bd
[maven-release-plugin] prepare release ebean-parent-13.6.0
ebean-parent-13.6.0
2022-05-03 15:13:13 +12:00
Rob Bygrave
a8c2e4db3f
Our release profile is now called "central"
2022-05-03 15:09:34 +12:00
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
65d07f4af9
Merge branch 'master' of github.com:ebean-orm/ebean
2022-05-03 14:48:52 +12:00
Rob Bygrave
c74de4c221
Bump ebean-agent to 13.6.0
2022-05-03 14:48:38 +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
3fab465a13
#2649 - Bump avaje-config to 2.0 (uses System.Logger and not slf4j-api)
2022-05-03 13:50:22 +12:00
Rob Bygrave
ff662bff58
Merge pull request #2683 from ebean-orm/feature/bump-datasource
...
Bump ebean-datasource to 8.0 with use of System.Logger (from slf4j-api)
2022-05-03 13:46:18 +12:00
Rob Bygrave
cc7acd4761
Bump ebean-datasource to 8.0 with use of System.Logger (from slf4j-api)
2022-05-03 13:45:35 +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
3f5a610df1
Merge pull request #2650 from ebean-orm/feature/bump-ddlrunner
...
Bump ebean-ddl-runner (sync version with ebean-migration)
2022-05-03 13:36:29 +12:00
Rob Bygrave
d96e28991c
Merge pull request #2682 from ebean-orm/feature/ebean-migration-system-logger
...
Bump ebean-migration to 13.6.0 (bumps classpath scanner and ebean-ddl-runner)
2022-05-03 13:36:16 +12:00
Rob Bygrave
e84d12dad8
Bump ebean-migration to 13.6.0 (bumps classpath scanner and ebean-ddl-runner)
2022-05-03 13:30:09 +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
a70461d779
Update InterceptReadWrite with file content diff detection
2022-05-03 10:46:22 +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
f92887b2f0
#2680 - Bump parent to java11-oss 3.8 which moves nexus-staging-maven-plugin and distributionManagement under "central" profile
...
This means that the nexus-staging-maven-plugin should not be used for forks looking to deploy into their own local nexus/archiva maven repo.
2022-05-03 09:06:27 +12:00
Rob Bygrave
f49b93a845
Bump to 13.6.0-SNAPSHOT
2022-05-03 08:55:50 +12:00
Rob Bygrave
a6f3a4f922
Bump to 13.6.0-SNAPSHOT
2022-05-03 08:37:29 +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
ffa50b3176
Merge pull request #2679 from ebean-orm/feature/2677
...
#2677 - Fix for trim failing on mutation of lastAccessTime
2022-05-02 22:25:13 +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
cec8a2e482
Merge pull request #2678 from focbenz/patch-1
...
Fixed typo Junit -> JUnit in README
2022-05-02 20:33:01 +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
Michael Benz
2fefb5c7ef
Merge branch 'ebean-orm:master' into patch-1
2022-05-02 10:10:34 +02:00
Michael Benz
4278aa46f5
Junit -> JUnit
...
Just one more change ... verified in Intellij:
Junit -> JUnit
2022-05-02 10:08:46 +02:00
Rob Bygrave
7873a2b327
Merge pull request #2676 from focbenz/patch-1
...
Fix grammar in README.md
2022-05-02 20:08:04 +12:00
Rob Bygrave
9d3a3ddfeb
Merge pull request #2675 from ebean-orm/feature/DefaultOrmQuery-final
...
Modify DefaultOrmQuery to have non-final copy() methods to allow ebean-mocker to be updated
2022-05-02 20:07:40 +12:00