Christian Beikov
b5178d03ec
HHH-18851 Fix parameter type inference issue when IN predicate is uses array_contains()
2024-11-20 10:16:29 +01:00
marko-bekhta
a26e5059fb
HHH-18841 Create `_identifierMapper` as a synthetic attribute
2024-11-15 10:37:05 +01:00
Yoann Rodière
1ffde48f5b
HHH-18832 Don't skip bytecode enhancement just because an entity has a `@Transient` getter
2024-11-13 17:38:01 +01:00
Yoann Rodière
abfe6b9b55
HHH-18833 Introduce EnhancementContext#getUnsupportedEnhancementStrategy
...
This method allows custom contexts to pick the behavior they want when
a class contains getters/setters that do not have a matching field,
making enhancement impossible.
Three behaviors are available:
* SKIP (the default), which will skip enhancement of such classes.
* FAIL, which will throw an exception upon encountering such classes.
* LEGACY, which will restore the pre-HHH-16572 behavior.
I do not think LEGACY is useful at the moment, but I wanted to have
that option in case it turns out HHH-16572 does more harm than good in
Quarkus 3.15.
2024-11-13 17:38:01 +01:00
Marco Belladelli
0ceada1a18
HHH-18647 Fix insert values check for table group joins
2024-11-12 16:23:02 +01:00
Marco Belladelli
d7da2bdd11
HHH-18647 Add test for issue
2024-11-12 16:23:02 +01:00
Marco Belladelli
4870f9cf17
HHH-18816 FK rendering: check parent query specs for group by / order by
2024-11-12 16:22:29 +01:00
Marco Belladelli
b9e47aac56
HHH-18816 Add test for issue
2024-11-12 16:22:29 +01:00
Christian Beikov
556285b735
HHH-18703 Use natural order table numbers for subclass column closure
2024-11-11 11:05:45 +01:00
Vincent Bouthinon
92cbbc5143
HHH-18703 : The JoinedSubclassEntityPersister#getTableNameForColumn method does not return the correct table in the JOINED inheritance strategy.
...
Cause: one uses a sorted set of tables, the other does not.
2024-11-11 11:05:45 +01:00
Scott Marlow
faebabd1f7
HHH-16572 - Skip enhancement for PROPERTY attributes with mismatched field and method names
...
Signed-off-by: Scott Marlow <smarlow@redhat.com>
2024-11-07 09:51:58 -07:00
Marco Belladelli
ab9e671761
HHH-18564 Handle attribute converters for query literals
...
Allow both domain and relational forms when an attribute converter is present
2024-11-05 16:59:45 +01:00
Marco Belladelli
6017ae4c69
HHH-18564 Add test for issue
2024-11-05 16:59:45 +01:00
stringintech
6584eb3d53
HHH-18764 Fix incorrect type resolution in ManyToOneType dirty check
2024-10-29 13:19:01 +01:00
Christian Beikov
3737d87d79
HHH-18773 Deduplicate result initializers to avoid double initialization issues
2024-10-28 13:09:13 +01:00
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