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
Steve Ebersole
67b5784b58
HHH-18654 - Change setting docs to use an asciidoc section per setting
2024-09-24 17:36:39 -05:00
Marco Belladelli
735f066c3d
HHH-18642 Revert to Statement.RETURN_GENERATED_KEYS for identity only
2024-09-24 15:04:54 +02:00
Steve Ebersole
0c8ac1c6e3
HHH-18640 - Add note to migration guide about @Table and subclasses
2024-09-23 14:21:50 -05: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
Marco Belladelli
a34fb6ef08
HHH-18582 Add test for issue
2024-09-23 11:16:11 +02:00
Gavin King
e3e7db0c68
HHH-17739 add tests
2024-09-23 11:16:11 +02:00
Gavin King
1e5eaaf50d
HHH-17739 fix NPE for field with unsupported collection type
...
cleanups and warning fixes in TypeConfiguration and BasicValue
2024-09-23 11:16:11 +02:00
Andrea Boriero
df8981f53f
Fixed changelog.txt
2024-09-23 10:10:20 +02:00
Andrea Boriero
bc64bed465
HHH-18515 Unrecognized discriminator value exception when running native query on entity with discriminator column
2024-09-20 13:09:52 +02:00
Andrea Boriero
9c25ae2269
HHH-18515 Add test for issue
2024-09-20 13:09:52 +02:00
Andrea Boriero
9c457f2aff
HHH-18471 Since 6.2.2 Dialect SybaseAnywhereDialect does not render table names in the selection query
2024-09-20 13:05:34 +02:00
Andrea Boriero
307fb20c28
HHH-18632 Concurrency issue with AbstractEntityPersister#nonLazyPropertyLoadPlansByName
2024-09-20 11:03:10 +02:00
Marco Belladelli
0f0f50de96
HHH-18617 Avoid reading unowned association key when filters are enabled
2024-09-20 08:46:45 +02:00
Marco Belladelli
aecb1d9e86
HHH-18617 Add test for issue
2024-09-20 08:46:45 +02:00
Marco Belladelli
11aebd8e7d
HHH-18635 Avoid using `bigdatetime` on Sybase jconn when not necessary
2024-09-20 08:43:50 +02:00
Čedomir Igaly
3cd4e9a3ec
HHH-18500 If superclass is null, class should not be enhanced, simply return empty collection
2024-09-19 18:59:18 +02:00
Čedomir Igaly
979170f28a
HHH-18500 Added slightly modifed existing test case with addition of module-info.java and set extend enhancement flag
2024-09-19 18:59:18 +02:00
Christian Beikov
b40bc61ba5
Remove testing for DB2 10.5 since the docker image is not available anymore
2024-09-19 16:28:50 +02:00
Christian Beikov
1df7628a65
HHH-18596 Get rid of ValueHandlingMode hack in query pagination
2024-09-19 14:11:09 +02:00
Piotr Wolny
2d6303db3b
HHH-18551 Fix memory leak caused by creation of new BasicTypeImpl
2024-09-18 18:40:25 +02:00
Marco Belladelli
e55bdbcc94
HHH-18337 Avoid calling `Configurable#create` for `null` creation context
...
Also change a failing test so it doesn't pass `null` as creation context
2024-09-18 13:51:43 +02:00
Christian Beikov
7a0bbd63cb
Remove JDK 22 testing
2024-09-18 09:32:02 +02:00
Hibernate-CI
631ae2e853
Post-steps for release : `6.6.1.Final`
2024-09-17 13:08:44 +00:00
Hibernate-CI
2c6b91d84f
Pre-steps for release : `6.6.1.Final`
2024-09-17 13:01:11 +00:00
Steve Ebersole
3e215b5cee
HHH-18337 - SequenceStyleGenerator not respecting physical naming strategy
2024-09-16 16:08:13 -05:00
Steve Ebersole
efd45288d9
HHH-18337 - SequenceStyleGenerator not respecting physical naming strategy
2024-09-16 15:17:15 -05:00
Marco Belladelli
744732b726
HHH-18174 Fix junction entity name uses algorithm for subqueries
...
(cherry picked from commit 95ef45bef8
)
2024-09-16 14:57:24 -05:00
Marco Belladelli
0e9577a4d6
HHH-18174 Add test for issue
...
(cherry picked from commit a33ae2d580
)
2024-09-16 14:57:24 -05:00
Christian Beikov
9c5cf75111
HHH-18447 Try using native cast for string to boolean
2024-09-16 14:09:29 -05:00