Marco Belladelli
30b0c55e1d
HHH-18494 Add test for issue
2024-10-25 13:35:02 +02:00
Gavin King
45ca8f24b0
fix broken code example
...
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-10-25 08:12:59 +02:00
Gavin King
c03076885c
HHH-18761 fix generation of named query method in presence of Jakarta Data
...
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-10-24 16:20:13 +02:00
Gavin King
383d32e3e6
HHH-18761 add test
...
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-10-24 16:20:13 +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
Christian Beikov
2e3b9d5f16
Switch to Hibernate Commons Annotations 7.0.3.Final since 7.0.1.Final had not tag on SCM
2024-10-21 13:41:18 +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
Christian Beikov
74501850cb
Update to Jakarta Persistence TCK version 3.1.6
2024-10-17 18:24:11 +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
4100ee04c3
HHH-18712 Warning about attempts to update an immutable entity for normal (not immutable) entity
2024-10-17 13:36:05 +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
Christian Beikov
2d13afb511
HIB-57 Re-enable testing of IBM DB2 10.5 in Hibernate ORM
2024-10-09 12:44:06 +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
Gavin King
d0295473b2
fix uppercasing of names in processor to comply with JPA 3.2 spec
2024-10-04 19:35:07 +02:00
Gavin King
86824040ec
respect @Nonnull annotation on @Find method parameters
2024-10-04 19:35:07 +02:00
Gavin King
dec1eae54a
fix a bug in generation of @Find method for @NaturalId fields
...
StatelessSession does not have a byNaturalId() method
2024-10-04 19:35:07 +02:00
Gavin King
938f592982
HHH-18667 attempt to fix by making TypeConfiguration nonstatic
2024-10-04 19:35:07 +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