Rob Bygrave
ac1e1757e8
#2748 - Fix partially loaded bean scenario with .setDisableLazyLoading(true) .setBeanCacheMode(CacheMode.PUT) // force query to hit database
2022-07-20 08:16:43 +12:00
Rob Bygrave
48404fc85d
#2748 - Fix setDisableLazyLoading(true) ... does not set fully loaded state [fully loaded bean scenario]
2022-07-20 07:55:42 +12:00
Rob Bygrave
9252e72581
#2748 - Fix such that .setLoadBeanCache(false) ... sets CacheMode.OFF
2022-07-20 07:45:20 +12:00
Rob Bygrave
fdfe2533c9
[maven-release-plugin] prepare for next development iteration
2022-07-06 20:59:11 +12:00
Rob Bygrave
7e3d39ac1a
[maven-release-plugin] prepare release ebean-parent-13.6.5
2022-07-06 20:59:04 +12:00
Rob Bygrave
88b6a60feb
#2730 - Secondary @OneToMany fetch query is not happening if the same Entity type is fetched
2022-07-06 20:19:41 +12:00
Rob Bygrave
52e6c0c625
#2736 - findDto nonsupport setter chain (accessor style setters, both fluid style and non fluid style)
2022-07-05 10:37:55 +12:00
Rob Bygrave
745fbe883e
#2737 - Mapping of TimeZone doesn't have enough characters
2022-07-05 09:05:13 +12:00
Rob Bygrave
d20d276d56
#2728 - Fix for stateless update with orphanRemoval=true and softDelete
2022-07-04 12:22:27 +12:00
Rob Bygrave
fa6fdf124d
Fix test BasicProfileLocationTest
2022-06-16 13:52:27 +12:00
Rob Bygrave
a5256df6f2
[maven-release-plugin] prepare for next development iteration
2022-06-14 16:14:25 +12:00
Rob Bygrave
fa11dac2b2
[maven-release-plugin] prepare release ebean-parent-13.6.4
2022-06-14 16:14:18 +12:00
Rob Bygrave
583c5f74eb
Support Postgres JSONB/JSON with String - @DbJsonb String content;
2022-06-14 14:57:50 +12:00
Rob Bygrave
5be3b7717c
#2716 - Refactor ScalarType interface to make use of default methods
2022-06-13 22:38:15 +12:00
Rob Bygrave
e29d83a379
#2710 - Update PersistRequestBean with checkAllMutableProperties() and checkAnyMutableProperties()
2022-06-13 18:58:38 +12:00
Rob Bygrave
8301fd5e74
#2710 - JSONB fields are not considered dirty after modified in BeanPersistController preUpdate
2022-06-13 18:35:42 +12:00
Rob Bygrave and GitHub
c02ab7340c
Merge pull request #2708 from FOCONIS/fix-localtime
...
Part 1: Fix read/write/query LocalTime values
2022-06-09 12:00:06 +12:00
Noemi Praml
9c354919e5
refactoring
...
(cherry picked from commit 43e28c4f5c747cdda2e3547a8db593eab490ceec)
2022-05-31 10:49:09 +02:00
Noemi Praml
c8be59fd95
it fixes the test
...
(cherry picked from commit d2e21aa3dcbd4ae59dd8d1ff5404d94c298f087b)
2022-05-31 10:47:32 +02:00
Noemi Praml
bb9cfe9d0f
add support for findSingleAttributeSet
2022-05-24 11:09:56 +02:00
Rob Bygrave
1060503fe1
[maven-release-plugin] prepare for next development iteration
2022-05-24 13:46:16 +12:00
Rob Bygrave
2edfc33d00
[maven-release-plugin] prepare release ebean-parent-13.6.3
2022-05-24 13:46:09 +12:00
Rob Bygrave
c5e980991e
[maven-release-plugin] prepare for next development iteration
2022-05-18 20:11:18 +12:00
Rob Bygrave
1004675a0b
[maven-release-plugin] prepare release ebean-parent-13.6.2
2022-05-18 20:11:12 +12:00
Rob Bygrave
0db93bc82d
No effective change - tidy BeanList etc, BeanCollectionHelpFactory to use specific CQueryCollectionAdd for List and Set
2022-05-18 17:33:08 +12:00
Rob Bygrave
7fbc1f8111
Postgres DDL - With Postgres table partitioning, add partition column to primary key
...
- Postgres DDL generation
- Using table partitioning
- There is a primary key defined that doesn't contain the partition column
In DDL generation, automatically add the partition column to the DB primary key.
2022-05-17 21:39:06 +12:00
Rob Bygrave
4f3c9adf6f
#2695 - DDL Generation for @UniqueConstraint ignores the name - should be the index name when given
2022-05-16 22:06:14 +12:00
Rob Bygrave
b7d6374370
Improve error message when no platform providers are in the classpath
2022-05-16 18:47:48 +12:00
Rob Bygrave
cc91ca5c2a
[maven-release-plugin] prepare for next development iteration
2022-05-16 12:22:31 +12:00
Rob Bygrave
c863fe7781
[maven-release-plugin] prepare release ebean-parent-13.6.1
2022-05-16 12:22:25 +12:00
Rob Bygrave
36d589d4f3
#2691 - Improve logging summary when insert bean with no @Id ...
2022-05-16 11:30:36 +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
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
2022-05-03 15:13:13 +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 and GitHub
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 and GitHub
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 and GitHub
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 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
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