Christian Beikov
6d93f0eeaf
Fix backwards compatibility issue with FunctionReturnTypeResolver
2024-10-26 16:03:12 +02:00
Marco Belladelli
89629bc702
HHH-18494 Always use standard table group in result builder entity
...
Also ignore placeholder aliases for to-one properties using join-tables, and use the target column name instead
2024-10-25 13:35:02 +02:00
Marco Belladelli
30b0c55e1d
HHH-18494 Add test for issue
2024-10-25 13:35:02 +02:00
Karel Maesen
eaca728d60
HHH-18755 - Skip test that causes deadlock
...
On CockroachDB the method
`testCopyPersistentCollectionReferenceAfterFlush` causes a
deadlock, which is resolved eventually by a TimeoutException.
This problem has been discussed in
https://github.com/cockroachdb/cockroach/issues/61269 . The
CockroachDB developers do not see this as a bug that needs to
be fixed. Therefore we skip this test for CockroachDB.
2024-10-23 10:29:08 +02:00
Andrea Boriero
d94087e685
HHH-18719 Previous row state reuse can provide detaches entities to the consumer
2024-10-22 13:31:53 +02:00
Réda Housni Alaoui
77b36f984e
HHH-18719 Previous row state reuse can provide detached entities to the consumer
2024-10-22 13:31:53 +02:00
Andrea Boriero
0843f7d3fb
HHH-18720 Type check on select columns in union all gives SemanticException when there is a null column
2024-10-22 11:46:31 +02:00
Andrea Boriero
cdca0d34ea
HHH-18720 Add test for issue
2024-10-22 11:46:31 +02:00
Andrea Boriero
145fe6ce7b
HHH-18702 Exception using @EmbeddedId with @OneToMany that refers to an alternate key column
2024-10-21 18:38:42 +02:00
Andrea Boriero
a9290b27ec
HHH-18702 Add test for issue
2024-10-21 18:38:42 +02:00
Andrea Boriero
cef03a3256
HHH-18713 saveOrUpdate changed behaviour with bytecode enhancer
2024-10-21 16:48:50 +02:00
Andrea Boriero
b26441aee8
HHH-18713 Add test for issue
2024-10-21 16:48:50 +02:00
Marco Belladelli
7aeb92244e
Fix a couple failures on CockroachDB
2024-10-21 11:47:43 +02:00
Jan Schatteman
75885b9dd1
HHH-18739 - Fix for hints in queries containing joins
...
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2024-10-18 23:43:06 +02:00
Christian Beikov
db24cf11c5
HHH-18730 Multi-column association in aggregate component doesn't work
2024-10-18 12:57:18 +02:00
Andrea Boriero
ba88d7cf84
HHH-18289 with leads to HibernateException: A collection with cascade= was no longer referenced by the owning entity instance
2024-10-17 13:55:15 +02:00
Andrea Boriero
8eae372ab8
HHH-18389 Add test for issue
2024-10-17 13:55:15 +02:00
Andrea Boriero
80bbea4283
HHH-18131 Composite identifiers with associations stopped working with @IdClass
2024-10-15 11:36:25 +02:00
Andrea Boriero
3aae473eca
HHH-18131 Add test for issue
2024-10-15 11:36:25 +02:00
Andrea Boriero
122d1806c7
HHH-18681 InterpretationException executing subquery in case-when : o.h.query.sqm.tree.select.SqmSelection.getExpressible() is null
2024-10-15 11:33:16 +02:00
Andrea Boriero
1e4b1137ac
HHH-18681 Add test for issue
2024-10-15 11:33:16 +02:00
Jan Schatteman
d702496e4d
HHH-18669 - resolve the driver name from the connection metadata, in case it wasn't explicitly set and access to the database metadata is allowed
...
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2024-10-09 16:21:50 +02:00
Gavin King
e9223cb984
finally sort out handling of @Id and @Version in query validator
...
also remove 'this' hacks made obsolete by Steve's work on core
2024-10-05 08:26:47 +02:00
Marco Belladelli
cda7dad83b
HHH-18450 Handle array result types for multi-valued parameters
...
Also fix an NPE in SqmSelectionQueryImpl#determineResultType
2024-10-04 16:37:59 +02:00
Marco Belladelli
46293dbde4
HHH-18450 Add test for issue
2024-10-04 16:37:59 +02:00
Jan Schatteman
acfc79303c
HHH-13547 - remove logging of BatchImpl rethrown exceptions
...
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2024-10-04 16:26:47 +02:00
Manuel Siggen
3f9c364232
HHH-18491 Do no try to resume non-existant transaction in doInSuspendedTransaction.
2024-10-04 12:32:25 +02:00
Christian Beikov
5a04c37edc
HHH-18645 Handle proxies when resolving from existing entity in batch initializer
2024-10-04 12:28:19 +02:00
Leon Schenk
eaf0ba3aee
HHH-18675: Revert to java 11
2024-10-04 10:15:58 +02:00
Leon Schenk
83ec629ed1
HHH-18675: Changed license to 6.6 version
...
(cherry picked from commit 0a1a9f757d
)
# Conflicts:
# hibernate-core/src/main/java/org/hibernate/metamodel/internal/MetadataContext.java
2024-10-04 10:15:58 +02:00
Leon Schenk
fe7fc9bf9f
HHH-18675: Fix for testcase. If property is 'synthetic' then create no attribute for the jpa model.
...
(cherry picked from commit bc4804ab09
)
2024-10-04 10:15:58 +02:00
Leon Schenk
907fbe09d9
HHH-18675: Testcase added to Hibernate Project includes a reference testcase without generics.
...
(cherry picked from commit fcba4ed25d
)
2024-10-04 10:15:58 +02:00
Marco Belladelli
e9d3ce0def
HHH-18321 Avoid search for table group when possible for paths
2024-10-03 10:58:31 +02:00
Marco Belladelli
f977dc343c
HHH-18321 Add test for issue
2024-10-03 10:58:31 +02:00
Christian Bürgi
4119e44d1a
HHH-18513 fix wrong prePartialFlush calculation in Session Metrics log
2024-10-03 10:51:43 +02:00
Yanming Zhou
8870ab897b
HHH-18575 Fix IllegalStateException while passing multi-valued BigDecimal as parameter
...
Fix
```
java.lang.IllegalStateException: Binding is multi-valued; illegal call to #getBindValue
at org.hibernate.query.internal.QueryParameterBindingImpl.getBindValue(QueryParameterBindingImpl.java:100)
at org.hibernate.query.sqm.sql.BaseSqmToSqlAstConverter.resolveSqmParameter(BaseSqmToSqlAstConverter.java:6283)
at org.hibernate.query.sqm.sql.BaseSqmToSqlAstConverter.consumeSqmParameter(BaseSqmToSqlAstConverter.java:5861)
at org.hibernate.query.sqm.sql.BaseSqmToSqlAstConverter.consumeSingleSqmParameter(BaseSqmToSqlAstConverter.java:5950)
at org.hibernate.query.sqm.sql.BaseSqmToSqlAstConverter.processInSingleParameter(BaseSqmToSqlAstConverter.java:8178)
at org.hibernate.query.sqm.sql.BaseSqmToSqlAstConverter.processInSingleHqlParameter(BaseSqmToSqlAstConverter.java:8135)
at org.hibernate.query.sqm.sql.BaseSqmToSqlAstConverter.processInListWithSingleParameter(BaseSqmToSqlAstConverter.java:8124)
```
2024-10-02 18:01:33 +02:00
Yanming Zhou
e3a36d7ce2
HHH-18575 Add test for issue
2024-10-02 18:01:33 +02:00
Réda Housni Alaoui
4a66035fea
HHH-18658 Inner join prevents finding an entity instance referencing an empty map
2024-10-02 16:29:35 +02:00
Marco Belladelli
fc2ba3d5fd
Fix checkstyle failures due to new-format headers
2024-10-02 10:26:42 +02:00
Steve Ebersole
d94a2a7ea9
HHH-18545 - Document "characteristics" of settings
...
(cherry picked from commit 4f9035e9f8
)
2024-09-30 09:50:30 -05:00
Andrea Boriero
b5ff96da92
HHH-18608 NPE in EntityInitializerImpl.resolveInstanceSubInitializers
2024-09-30 15:47:24 +02:00
Andrea Boriero
b6c776150a
HHH-18608 Add test for issue
2024-09-30 15:47:24 +02:00
Andrea Boriero
a93e0a7754
HHH-18409 byte[] instance variables annotated with @NaturalId cannot be found with a natural ID query
2024-09-26 16:51:40 +02:00
Andrea Boriero
c7e17aebab
HHH-18409 Add test for issue
2024-09-26 16:51:40 +02:00
Andrea Boriero
fc1d380415
HHH-18631 AssertionError when loading an entity after removing another, associated entity
2024-09-26 13:32:09 +02:00
Andrea Boriero
c301ac85d2
HHH-18631 Add test for issue
2024-09-26 13:32:09 +02:00
Marco Belladelli
735f066c3d
HHH-18642 Revert to Statement.RETURN_GENERATED_KEYS for identity only
2024-09-24 15:04:54 +02:00
Andrea Boriero
67fbc97b07
HHH-18628 Regression: Unable to determine TableReference
2024-09-23 17:36:19 +02:00
Andrea Boriero
d0d7438970
HHH-18628 Add test for issue
2024-09-23 17:36:19 +02:00
Marco Belladelli
c9bc3dcd45
HHH-18582 Throw explicit error when trying to map nested arrays
2024-09-23 11:16:11 +02:00