Jonas Pöhler
4cebb367de
FIX: subquery could not not have a where clause
2021-07-29 17:09:24 +02:00
rbygrave
4aef0ad459
#2275 - Change Query<?> to Query<T> on ExtendedServer exists() method
2021-07-28 17:23:37 +12:00
Rob Bygrave and GitHub
21cd74d0ca
Merge pull request #2273 from ebean-orm/feature/2272
...
#2272 Fix for collection with orphanRemoval (such that equals/hashCode isn't use)
2021-07-28 17:14:09 +12:00
rbygrave
f32ace4e5a
Refactor EntityBeanIntercept replacing owner._ebean_getPropertyNames().length with flags.length
2021-07-23 13:54:29 +12:00
rbygrave
e54b7052e0
#2272 Fix for collection with orphanRemoval (such that equals/hashCode isn't use)
...
- Changes ModifyHolder to use IdentityHashMap such that equals/hashcode isn't invoked
- Change SaveManyBeans such that M2M intersection deletes execute before inserts
The SaveManyBeans change is required to pass TestM2MModifyTest. With that test we get a delete/insert pair that we somewhat expect because we clear() the collection. Previously equals/hashCode meant we didn't get that delete/insert pair.
The test changes from containsExactly() to containsOnly() as we now can't guarantee the ordering with IdentityHashMap.
2021-07-23 12:18:06 +12:00
rbygrave
b40d448955
#2272 No effective change, tidy test TestM2MModifyTest only
...
Noting that this test fails with the fix for 2272 as M2M intersection deletes are currently executed after inserts. We need a fix to SaveManyBeans to change that so that deletes to intersection table execute after inserts.
2021-07-23 12:01:36 +12:00
rbygrave
33bccd3bcb
[maven-release-plugin] prepare for next development iteration
2021-07-22 19:03:54 +12:00
rbygrave
705e4f4098
[maven-release-plugin] prepare release ebean-parent-12.10.0
ebean-parent-12.10.0
2021-07-22 19:03:43 +12:00
rbygrave
1642833fdb
Improve javadoc on TQRootBean and generated javadoc on query bean forFetchGroup() method
2021-07-22 18:56:02 +12:00
rbygrave
492bb98e0e
#2269 - findSingleAttributeList does not filter soft-deleted record
2021-07-22 17:12:06 +12:00
rbygrave
a8456f90db
Bump ebean-agent version to 2.10.0
2021-07-22 16:46:57 +12:00
Rob Bygrave and GitHub
103b75172d
Merge pull request #2267 from FOCONIS/pr/bugfix/connection_closed_on_clob
...
Retrieve (C|B)LOB on SqlRow construction
2021-07-22 16:44:05 +12:00
rbygrave
0baa3a0eac
#2270 - ebean-agent enhancement NPE with MappedSuperclass with no properties that uses named database
2021-07-22 16:38:28 +12:00
rbygrave
f26e4b5381
Bump jedis to 3.6.3 (from 3.6.1)
2021-07-22 12:37:42 +12:00
Jonas Pöhler
3d4de4dee5
FIX TestRawSqlService and TestRawSqlBuilder
2021-07-16 15:17:04 +02:00
Jonas Pöhler
c621435a28
Merge remote-tracking branch 'ebean/master' into pr/bugfix/connection_closed_on_clob
2021-07-16 13:32:24 +02:00
rbygrave
7408483a43
#2264 - Use of default timezone for OffsetDateTime offsets problematic for unit tests and presentation layer
2021-07-15 17:14:22 +12:00
rbygrave
4d15535381
No functional change - tidy DefaultDbSqlContext
2021-07-13 16:48:45 +12:00
Rob Bygrave and GitHub
787c2f90f2
Merge pull request #2188 from FOCONIS/fix-order-by
...
FIX: orderBy does not work when used on formula property
2021-07-13 16:41:33 +12:00
Rob Bygrave and GitHub
e590a2149d
Merge pull request #2257 from FOCONIS/queries-are-cancelable
...
Queries are cancelable
2021-07-13 16:11:36 +12:00
rbygrave
8c77740aa7
Bump version tp 12.10.0-SNAPSHOT (with 12.9.4-RC1 ddl generator)
2021-07-13 15:48:10 +12:00
Rob Bygrave and GitHub
29582b57f7
Merge pull request #2256 from FOCONIS/many-where-support
...
Improved @Where support, especially for Many-to-many tables
2021-07-13 15:01:49 +12:00
rbygrave
2763f333d4
#2262 - Tidy tests for Transaction postCommit Callback
2021-07-13 14:48:40 +12:00
rbygrave
8840628d34
#2262 - Transaction postCommit Callback not invoked when the active transaction has no database writes
2021-07-13 14:45:48 +12:00
rbygrave
6fb28d7ded
#2255 Specific test for setParameter cannot assigning the value when parameter in selecting section of query
2021-07-13 12:54:21 +12:00
rbygrave
be810aa568
[maven-release-plugin] prepare for next development iteration
2021-07-13 12:16:12 +12:00
rbygrave
8a698bd71e
[maven-release-plugin] prepare release ebean-parent-12.9.3
ebean-parent-12.9.3
2021-07-13 12:16:01 +12:00
rbygrave
baa0594501
Change ebean-test tests to use H2 rather than mariadb
2021-07-13 12:10:23 +12:00
rbygrave
e82b8c80f0
#2265 - ArrayIndexOutOfBoundsException: Index -1 out of bounds with @IdClass and batch insert accessing id property
2021-07-13 11:30:31 +12:00
Rob Bygrave and GitHub
f8e54be9a6
Merge pull request #2260 from casmir/master
...
Fix additional autotune runtimeExceptions due to toString() calls instead of asString()
2021-07-01 13:05:17 +12:00
Cas de Graaf
d3137be984
in addition to #2236
...
- autotune still throws RunTimeException due to existing
ORMQueryDetail.toString() calls, replaced with .asString()
2021-06-30 16:23:20 +02:00
Roland Praml
824cfa27be
Queries are cancelable
2021-06-23 17:11:21 +02:00
Roland Praml
66cb6d5e7d
Imporved @Where support, especially for Many-to-many tables
2021-06-21 14:50:15 +02:00
rbygrave
8f432aa0a9
#2251 - Transparent persistence of to-many associations (with orphanRemoval)
2021-06-18 16:05:25 +12:00
rbygrave
4aa4137abe
Merge branch 'transparent_persistence' of https://github.com/cit-consulting/ebean into cit-consulting-transparent_persistence
2021-06-18 13:03:36 +12:00
rbygrave
f4bb4e1b6a
#2254 - OraclePlatform needs columnAliasPrefix 'c' - Regression in version 12.2.1 due to #1967
2021-06-18 12:37:16 +12:00
rbygrave
7af4e166a4
#2253 - Incorrect JSON format for LocalDateTime. Includes Z suffix when it should not.
2021-06-17 13:26:34 +12:00
Vladimir Konkov
1fa488d870
Test for transparent persistence of to-many associations
2021-06-14 16:20:25 +03:00
rbygrave
37a3a51b6b
Bump test dependency for Postgres JDBC driver
2021-06-14 11:09:37 +12:00
rbygrave
6a6e8f906f
Bump jedis dependency to 3.6.1 (from 3.6.0)
2021-06-14 11:09:13 +12:00
rbygrave
55bc498f9d
No functional change - refactor QueryIterator to use Iterator.remove()
...
default method
Iterator.remove() has a default implementation that throws UnsupportedOperationException which is what we want. Remove the close() method from QueryIterator and implementations so that we just use the Iterator.remove() default implementation.
2021-06-11 10:20:47 +12:00
rbygrave
4ee784c68f
[maven-release-plugin] prepare for next development iteration
2021-06-11 00:41:06 +12:00
rbygrave
fc757c087a
[maven-release-plugin] prepare release ebean-parent-12.9.2
ebean-parent-12.9.2
2021-06-11 00:40:55 +12:00
rbygrave
884dd939b7
#2249 - Bug with DbJson Jackson property that is null is updated as null (unnecessarily included in update)
...
When the value is null and not changed then is was null before and should not be treated as dirty. Hence only check for dirty when value != null in BeanDescriptor 3182
2021-06-11 00:19:20 +12:00
Rob Bygrave and GitHub
6fd2f556db
Merge pull request #2248 from ebean-orm/feature/DbJson-DirtyDetection-Refactor
...
Refactor DbJson Jackson handling adding DatabaseConfig.setJsonDirtyByDefault()
2021-06-11 00:10:37 +12:00
rbygrave
4e088a40d9
Refactor DbJson Jackson handling adding DatabaseConfig.setJsonDirtyByDefault()
...
Adds the ability to change the default "jsonDirtyByDefault" configuration setting used with DbJson Jackson properties. Currently these default to being assumed dirty and this allows us to change that to be assumed not dirty (which is very likely the better default).
2021-06-11 00:08:03 +12:00
rbygrave
8ba66af878
Modify test TestQueryDefaultBatchSize to show use of ProfileLocation
2021-06-10 22:11:45 +12:00
rbygrave
441f51ed79
#2247 - Refactor internals - Change DefaultTypeManager - tidy
2021-06-10 20:30:07 +12:00
rbygrave
9ee891dc66
#2247 - Refactor internals - Change DefaultTypeManager from class.newInstance() to class.getDeclaredConstructor().newInstance()
2021-06-10 20:09:34 +12:00
rbygrave
87ffcbf23e
No effective change - tidy CQuery
2021-06-10 19:45:27 +12:00