Rob Bygrave
c7bd6c8bde
Support a naming convention function that can be applied to metrics names for reporting
...
For example, can apply a lower case underscore naming convention to the metrics names. This
can be done such that it doesn't have to be applied every time the metrics are collected and
reported.
2022-08-08 21:34:00 +12:00
Rob Bygrave and GitHub
797e1f4bd2
Merge pull request #2767 from ebean-orm/feature/2766-json-ref-bean
...
#2766 Explicitly specify disableLazyLoad on beans created from JSON by default
2022-08-03 20:36:19 +12:00
Rob Bygrave and GitHub
a14507e563
Merge pull request #2765 from ebean-orm/feature/2762-forUpdate-pagingList-count
...
#2762 - forUpdate is NOT included in query copy() method
2022-08-03 20:35:45 +12:00
Rob Bygrave
01d5aa8199
#2760 - Add ServerMetrics.asJson() ... to support conversion of collected metrics to json
2022-08-01 16:54:49 +12:00
Rob Bygrave
7474430a63
#2768 - ENH: Add eqIfPresent() - a helper expression for fluid style when some EQ are optional
2022-08-01 16:36:09 +12:00
Rob Bygrave
ed830aeb0c
#2766 - Explicitly specify disableLazyLoad on beans created from JSON (default)
...
- Beans created from JSON default to disableLazyLoad true
- Explicitly use new JsonReadOptions().setEnableLazyLoading(true) when lazy loading is needed
2022-08-01 15:43:08 +12:00
Rob Bygrave
54cbdae22d
#2766 - Failing test for reference bean created from JSON allows lazy loading.
2022-08-01 15:38:11 +12:00
Rob Bygrave
bb77d6588a
#2762 - forUpdate is NOT included in query copy() method
...
The copy() method is used by findPagedList(), findIds(), findFutureList() etc.
2022-08-01 11:35:58 +12:00
Rob Bygrave
3a84e4183d
Fix platform specific asserts with TestQuerySingleAttribute using limit/offset
2022-08-01 09:45:33 +12:00
Rob Bygrave
d12dc9bfed
Fix platform specific asserts with TestQuerySingleAttribute using limit/offset
2022-08-01 09:37:34 +12:00
Rob Bygrave
5f689dee1b
No effective change - tidy test only, TestQuerySingleAttribute
2022-08-01 09:20:38 +12:00
Rob Bygrave
08d3a3b2f5
Fix platform specific assert in test TestQuerySingleAttribute
2022-08-01 09:16:55 +12:00
Rob Bygrave
4ed5f91963
#2756 - Fix for Bug findSingleAttributeList o2m maxrows
...
Allow maxRows use in this case
2022-07-29 22:37:06 +12:00
Rob Bygrave
f36e4543ee
#2755 - Effectively fixed by #2753 , format only change
2022-07-29 18:08:31 +12:00
Rob Bygrave
37f92bf967
Merge branch 'bug-singleattributelist-o2m-orderby' of github.com:FOCONIS/ebean into FOCONIS-bug-singleattributelist-o2m-orderby
2022-07-29 18:07:22 +12:00
Rob Bygrave
eb14531b66
#2754 - Adjust test query for oneToMany_notNull()
2022-07-29 17:29:56 +12:00
Rob Bygrave
6c1a3647f9
Merge branch 'bug-findsingleattributelist-o2m-notnull' of github.com:FOCONIS/ebean into FOCONIS-bug-findsingleattributelist-o2m-notnull
2022-07-29 17:29:10 +12:00
Rob Bygrave
fa9e9be003
#2753 - Fix for, Bug findSingleAttributeList o2m distinct
2022-07-29 17:12:51 +12:00
Rob Bygrave
02ead0bcdb
Merge branch 'bug-findsingleattributelist-o2m-distinct' of github.com:FOCONIS/ebean into FOCONIS-bug-findsingleattributelist-o2m-distinct
2022-07-29 16:58:04 +12:00
Roland Praml
dbcc779731
Fix: toJson must use setIntercept if target bean is passed
2022-07-28 15:07:05 +02:00
Rob Bygrave
31c20ca9a2
Format and imports on test code only
2022-07-27 22:26:26 +12:00
Rob Bygrave
7a6d91c2f4
Merge branch 'update_ignores_soft_delete' of github.com:Ichtil/ebean into Ichtil-update_ignores_soft_delete
2022-07-27 21:22:16 +12:00
Rob Bygrave
bda0786924
#2760 - Add MetaInfoManager.metricsAsJson() ... to support conversion of collected metrics to json
2022-07-27 09:31:58 +12:00
Alexander Wagner
7db2210ba4
Bug findsingleattributelist o2m maxrows
2022-07-20 13:47:17 +02:00
Alexander Wagner
9b80dd97c9
Bug findsingleattributelist o2m orderby
2022-07-20 13:38:38 +02:00
Alexander Wagner
23ca0e716c
Bug findsingleattributelist o2m notNull
2022-07-20 09:16:10 +02:00
Alexander Wagner
eac03a0721
assert
2022-07-20 09:02:06 +02:00
Alexander Wagner
cf8f099447
test for findSingleAttributeList o2m distinct
2022-07-20 09:02:06 +02:00
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
Jan Klička
64f99f5205
2750 failing test case
2022-07-15 17:49:10 +02: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
43dac07d5b
#2740 - Bump ebean-test-containers to 6.2
2022-07-06 14:41:24 +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
5b92ac6e02
Merge branch 'deleted_one_to_many_children_bug' of https://github.com/Ichtil/ebean into Ichtil-deleted_one_to_many_children_bug
2022-07-01 17:12:45 +12:00
Jan Klička
6392f90f32
Add more failing test cases
2022-06-29 18:41:19 +02:00
Jan Klička
bb8f3831b8
Testcase demonstrating stateless update resulting in a delete
2022-06-29 16:09:51 +02:00
Rob Bygrave
afdb1df7ce
Testing nuodb 4.3.2, but it isn't supporting getGeneratedKeys for jdbc batch inserts
...
That breaks a lot of tests
2022-06-16 23:32:04 +12:00
Rob Bygrave
1e044f03ed
Adjust test DefaultPersistenceContextTest
2022-06-15 22:25:46 +12:00
Rob Bygrave
583c5f74eb
Support Postgres JSONB/JSON with String - @DbJsonb String content;
2022-06-14 14:57:50 +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
3e3647816d
#2715 - [ebean-test-containers] Fix for Postgis to support extraDb (second database), Update Oracle container
2022-06-13 15:44:52 +12:00
Rob Bygrave
9aa7ae79e2
#2713 - Improve javadoc of Finder, BeanFinder, BeanRepository - deprecate use of BeanFinder server field (migrate to database)
2022-06-09 13:26:48 +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
d1a40b4739
failing test
2022-05-31 10:47:08 +02:00
Noemi Praml
bb9cfe9d0f
add support for findSingleAttributeSet
2022-05-24 11:09:56 +02:00
Rob Bygrave
ca445b5226
ebean-test-docker was renamed to ebean-test-containers
...
- Migrate from io.ebean:ebean-test-docker -> io.ebean:ebean-test-containers
- Migrate (with 5.8) package from io.ebean.docker.commands -> io.ebean.test.containers
2022-05-24 08:54:58 +12:00