rob bygrave
3117acd2d7
#2053 - Refactor tidy StringHelper.delimitedToMap
2020-09-04 13:37:25 +12:00
rob bygrave
4cee41d8d6
#2053 - Refactor tidy StringHelper - replace replaceStringMulti() with removeNewLines()
2020-09-04 13:21:13 +12:00
rob bygrave
f4a58938bd
#2053 - Refactor tidy StringHelper - just tidy
2020-09-04 13:09:55 +12:00
rob bygrave
4ce84f694f
#2053 - Refactor tidy internals - Clean up StringHelper
2020-09-04 13:04:14 +12:00
rob bygrave
8eb248b966
#2052 - Refactor tidy internals - Use String.replace() rather than literal pattern replaceAll()
2020-09-04 12:53:43 +12:00
rob bygrave
c294d8e568
#2051 - Bump config dependency from io.avaje:config to io.avaje:avaje-config
2020-09-03 17:18:14 +12:00
rob bygrave
e923316ce9
Change to use maven <optional>true</optional> rather than scope provided
2020-09-03 17:13:23 +12:00
rob bygrave
f611068a03
#2050 - Refactor internals - remove dependency on java.beans
2020-09-03 14:45:27 +12:00
rob bygrave
dd880ac09b
#2044 - Using @AttributeOverrides when override nullable
2020-08-31 14:38:23 +12:00
rob bygrave
dbe24a4041
[maven-release-plugin] prepare for next development iteration
2020-08-26 11:37:29 +12:00
rob bygrave
1f32dc2dc5
[maven-release-plugin] prepare release ebean-12.3.8
ebean-12.3.8
2020-08-26 11:37:17 +12:00
rob bygrave
b2ce9db8a8
#2048 - IllegalStateException: No query cache enabled on __. Need explicit @Cache(enableQueryCache=true) ... when ebean.disableL2Cache=true l2
2020-08-26 11:33:23 +12:00
rob bygrave
a626690918
#2044 - Using @AttributeOverrides also override length, scale and columnDefinition
2020-08-25 09:48:01 +12:00
rob bygrave
0d511d51a6
#2044 - Using @AttributeOverrides breaking generated SQL (when override nullable and no column name)
2020-08-25 09:22:15 +12:00
rob bygrave
854f467504
No effective change - update ddl review h2
2020-08-25 09:08:11 +12:00
rob bygrave
d3cc393edc
No effective change - update ddl review postgres
2020-08-25 09:04:21 +12:00
Rob Bygrave and GitHub
002014f930
For #2038 - updated from 12.3.6 to 12.3.7 - NPE BeanDescriptor.findPropertyFromPath(BeanDescriptor.java:1965) ( #2047 )
...
* #2038 - lazy loading ToMany with path
* #2038 - Failing test for NPE BeanDescriptor.findPropertyFromPath(BeanDescriptor.java:1965)
* #2038 Refactor internals DbReadContext use BeanPropertyAssocMany
2020-08-24 18:40:36 +12:00
rob bygrave
c8d352b0a8
Add a better error message for #2038 NPE at BeanDescriptor.java:1965
2020-08-05 16:44:45 +12:00
rob bygrave
3796f2b267
No effective change - organise imports on tests
2020-08-05 16:39:10 +12:00
peterko2017 and GitHub
4ef5abceca
Add STI Discrimination on Reference Associations ( #2041 )
...
* Update SqlTreeNodeBean#appendFromBaseTable to add
discriminator values to the join
* Update tests to reflect new generated SQL
2020-08-05 16:33:34 +12:00
rob bygrave
4eda4201de
Javadoc only change for RawSql
2020-07-30 16:22:09 +12:00
rob bygrave
933aa30149
Javadoc only change - replace at sign and fix javadoc
2020-07-27 16:41:30 +12:00
rob bygrave
0c80b3078a
#2037 - Refactor simplify TransactionCallback to lambda
...
- Move to use generic try catch exception
- Convert to lambda method calls
2020-07-24 13:19:56 +12:00
rob bygrave
7317847aa7
#2037 - Allow PostCommit transaction callback to recursively add another PostCommit callback
2020-07-24 13:16:18 +12:00
rob bygrave
444644f759
#2037 - Allow PostCommit transaction callback to recursively add another PostCommit callback
2020-07-24 13:16:00 +12:00
rob bygrave
f704da641d
No effective change - Modify test only adding extra asserts for #2036
2020-07-24 11:54:15 +12:00
rob bygrave
a1d2f4c1af
[maven-release-plugin] prepare for next development iteration
2020-07-14 12:52:50 +12:00
rob bygrave
b7469da5b1
[maven-release-plugin] prepare release ebean-12.3.7
ebean-12.3.7
2020-07-14 12:52:39 +12:00
rob bygrave
2897968a54
Bump maven plugin - no effective change
2020-07-14 12:50:47 +12:00
rob bygrave
6360fad701
Refactor tidy NoopCallOriginFactory
2020-07-14 11:11:14 +12:00
rob bygrave
dbc97aa28c
Remove the duplicate TestSoftDeleteBasic.testFindSoftDeletedList()
...
Hmmm, my bad. I merged the branch manually and that didn't remove the PR so I've merged this twice now and hence ended up with a duplicate method. All good, just removing this duplicate method.
2020-07-14 09:47:07 +12:00
Snōwball and GitHub
a231c136a9
Add failing test case for softdeletes ( #2034 )
...
Example:
One X can have many Ys. Ys can be soft deleted.
Y1 -> X1 -> Y1
Y1 is soft deleted
When Y1 is loaded, lazy-loading X1 and then lazy-loading the list of Ys associated with X1,
the list should contain Y1. This test asserts that is true.
2020-07-14 09:43:54 +12:00
rob bygrave
c6487e56cf
Merge branch 'tobias--soft_deletes_not_included'
2020-07-14 09:33:26 +12:00
rob bygrave
dac0a97a3f
#2035 - lazy-loading soft-deleted list from lazy-loaded bean doesn't remember includeSoftDeletes
2020-07-14 09:32:52 +12:00
rob bygrave
ff0274f72c
Merge branch 'soft_deletes_not_included' of https://github.com/tobias-/ebean into tobias--soft_deletes_not_included
2020-07-13 18:02:04 +12:00
rob bygrave
ddee202bcc
No effective change - tidy SqlTreeNodeBean
2020-07-10 10:52:22 +12:00
rob bygrave
e1522a4a68
No effective change - tidy test TestSoftDeleteBasic
2020-07-10 10:48:28 +12:00
rob bygrave
7bc6170587
#2032 - Objects that occur in query is not filtered by @SoftDelete (when query has predicates on a ToMany path the associated soft delete predicates are not included)
2020-07-10 10:00:52 +12:00
rob bygrave
0322c19261
Merge branch 'tobias--softdeleted_where'
2020-07-10 09:57:45 +12:00
Tobias
18ae0a7833
Add failing test case for softdeletes
...
Example:
One X can have many Ys. Ys can be soft deleted.
Y1 -> X1 -> Y1
Y1 is soft deleted
When Y1 is loaded, lazy-loading X1 and then lazy-loading the list of Ys associated with X1,
the list should contain Y1. This test asserts that is true.
2020-07-09 20:56:33 +02:00
Tobias
e99db44ddf
Add test for soft deleted children
...
When a child is referenced in the query, Ebean should make sure
that the child (or any of the objects connecting it in the query)
is deleted.
Ie. if a query requires a child to have a certain value, it should
filter out those children that are soft deleted. It should also perform
the deleted check on all objects leading up to that child.
E.g. assuming that all objects are soft deletable, the following where():
DB.find(Alpha.class).where()
.eq("alpha.beta.gamma.name", "bar")
should generate a query with
"t0.deleted = false AND t1.deleted = false AND t2.deleted = false AND t2.name = 'bar'"
2020-07-07 12:33:43 +02:00
rob bygrave
361de9ea99
Update error thrown to use DatabaseConfig rather than ServerConfig
2020-07-06 14:37:56 +12:00
rob bygrave
99732b30b1
No effective change - tidy test TestHstore
2020-07-01 15:38:58 +12:00
rob bygrave
dd5e5819b8
No effective change - Javadoc for ServerConfig
2020-06-30 23:07:27 +12:00
rob bygrave
b4330679b8
#2029 Opps, fix tests
2020-06-30 10:59:03 +12:00
rob bygrave
59447ad261
#2029 - ENH: Add database.getPlatform(); ... to obtain the underlying database platform being used
2020-06-29 21:56:18 +12:00
rob bygrave
3bd20a424a
[maven-release-plugin] prepare for next development iteration
2020-06-29 18:07:38 +12:00
rob bygrave
4ac3a8d1ad
[maven-release-plugin] prepare release ebean-12.3.6
ebean-12.3.6
2020-06-29 18:07:27 +12:00
rob bygrave
5a8f8b3a83
#2027 - querybean generator support for @EbeanComponent
2020-06-29 18:01:28 +12:00
rob bygrave
7c01cec466
[maven-release-plugin] prepare for next development iteration
2020-06-29 17:21:19 +12:00