Gavin King
88c2312856
HHH-18714 add an explicit type check instead of the cast to raw
...
also:
- get rid another use of a raw type and warning suppression
- change Boolean -> boolean
2025-01-02 23:56:54 +01:00
Gavin King
5b7673d862
Graphpocalypse: deprecated funkily-named methods of Graph
...
All of these methods now exist in the JPA supertype,
without the funky naming. We need to guide users away
from the non-standard ones, especially in light of the
ugliness.
2025-01-02 22:50:19 +01:00
Lansana DIOMANDE
4251dd8612
HHH-18714 add support for inheritance in NamedEntityGraph annotation
2025-01-02 22:35:37 +01:00
Christian Beikov
36d6e46eb3
HHH-4179 Test constructor syntax with temporal types
2025-01-02 18:07:05 +01:00
Gavin King
ebfdcdc87e
Graphpocalypse: modernize EntityGraphs utility class with new operations
2025-01-02 17:44:49 +01:00
Yoann Rodière
4e14127f65
Produce develocity reports on all Jenkins CI runs for PRs
...
We were incorrectly skipping these reports for runs that didn't have a
specific CI node set (like JDK version runs for PRs to the 6.6 branch).
2025-01-02 16:54:33 +01:00
Gavin King
3236d4641c
Graphpocalypse: major revision/refactoring of EntityGraph support
...
- add Javadoc, which has been missing for many years
- add a missing operation
2025-01-02 16:42:15 +01:00
Čedomir Igaly
0e02369f65
HHH-18988 Skip test if dialect does not supports schema creation
2025-01-02 15:07:37 +01:00
Čedomir Igaly
e0f132dddb
HHH-18988 Table name constructor parameter to ExplicitColumnDiscriminatorMappingImpl should be qualified
2025-01-02 15:07:37 +01:00
Čedomir Igaly
8d0cfa7e9d
HHH-18988 Adapted test case from Jira issue https://hibernate.atlassian.net/browse/HHH-18988
2025-01-02 15:07:37 +01:00
Gavin King
e5a94c49fb
Graphpocalypse: major revision/refactoring of EntityGraph support
...
- improve error nessages and add toStrings()
2025-01-02 15:07:13 +01:00
Gavin King
7cb3e4d6f3
Graphpocalypse: major revision/refactoring of EntityGraph support
...
- sort out handling of mutability
- try to minimize diff
2025-01-02 15:07:13 +01:00
Gavin King
24fe60e156
Graphpocalypse: major revision/refactoring of EntityGraph support
...
- important simplification
2025-01-02 15:07:13 +01:00
Gavin King
5687749fec
Graphpocalypse: major revision/refactoring of EntityGraph support
...
- attempt to fill in unimplemented operations from JPA 3.2
- organize operations on Graph/GraphImplementor
2025-01-02 15:07:13 +01:00
Gavin King
05b8d0dbe9
minor change, for possibly better performance
2025-01-02 15:07:13 +01:00
Gavin King
8509166469
Graphpocalypse: major revision/refactoring of EntityGraph support
...
- fix up typing issues with key/value subgraphs
2025-01-02 15:07:13 +01:00
Gavin King
5bde39f29c
Graphpocalypse: major revision/refactoring of EntityGraph support
...
- fix up a bunch of generic typing issues
- deprecate some old / obsolete operations
- finally implement addTreatedSubgraph()
2025-01-02 15:07:13 +01:00
Gavin King
8f754a5681
"subgraph" and "subtype" are words and do not come with hyphens
2025-01-02 15:07:13 +01:00
Gavin King
392fc72b31
"subgraph" and "subtype" are words and do not come with hyphens
2025-01-02 15:07:13 +01:00
Christian Beikov
ae4373dafe
HHH-3354 Test auto flush remove previously added entity from collection
2025-01-02 14:06:17 +01:00
Christian Beikov
db75ae2276
HHH-3319 Test for extra lazy ops on unowned one-to-many with restriction
2025-01-02 14:04:18 +01:00
Christian Beikov
87f363d4b1
HHH-3129 Set CollectionEntry role whenever possible
2025-01-02 14:04:00 +01:00
Christian Beikov
1a1bc8f486
Fix envers test on Windows
2025-01-02 11:45:35 +01:00
Gavin King
c6dc40f61a
migration guide for StatelessSession and second-level cache
2024-12-31 19:24:32 +01:00
Gavin King
813f76b70f
update docs for StatelessSession to reflect new capabilities
2024-12-31 19:01:46 +01:00
Gavin King
59f772f3a0
add some @see links
2024-12-31 18:48:07 +01:00
Gavin King
934c90562a
update migration guide
2024-12-31 18:48:07 +01:00
Gavin King
fc7927c661
@Check should have been deprecated along with @Comment
2024-12-31 18:48:07 +01:00
Gavin King
2a05f8c203
remove obsolete/unused enums + custom types from tests
2024-12-31 17:47:18 +01:00
Gavin King
e15c9db29f
remove deprecated and very obsolete EnumType
2024-12-31 17:47:18 +01:00
Gavin King
c44456ca5b
deprecate DynamicParameterizedType
...
This was incompletely implemented, features very inelegant naming,
and isn't actually type-safe. It was contributed by a user long ago
and the truth is I probably shouldn't have accepted the contribution.
2024-12-31 17:47:18 +01:00
Gavin King
f0fcaff5d2
remove obsolete SerializableToBlobType
...
I've no idea what this was doing there
2024-12-31 17:47:18 +01:00
Gavin King
044ad2ced3
fix some typecasts
2024-12-31 17:47:18 +01:00
Gavin King
abf55433a2
improve the error message and add comments
2024-12-31 14:31:21 +01:00
Gavin King
9ff21ad449
more cleanups to binders, make anon class static
2024-12-31 14:31:21 +01:00
Gavin King
286307fd5c
more cleanups to binders, focussed PropertyBinder
2024-12-31 14:31:21 +01:00
Gavin King
e7a5e09814
more cleanups to binders, focussed on FkSecondPass stuff
2024-12-31 14:31:21 +01:00
Christian Ambach
5867a8fed6
HHH-15557 fix problem when orm plugin is applied before Java plugin
2024-12-31 12:34:38 +01:00
Gavin King
95d5246c90
very minor changes to collection biding code
2024-12-31 00:57:18 +01:00
Gavin King
56a780b9e1
refactor duplicated code in SimpleValue/BasicValue
2024-12-31 00:57:18 +01:00
Gavin King
a283fc982b
even code cleanups around MappingHelper and especially class instantiation
2024-12-31 00:57:18 +01:00
Gavin King
eb56902842
code cleanups around MappingHelper
2024-12-31 00:57:18 +01:00
Gavin King
c8b0db9da2
more code cleanups in org.hiberate.boot.model.internal
2024-12-31 00:57:18 +01:00
Gavin King
d1c046e17c
various cleanups + improvements in org.hiberate.boot.model.internal
...
1. improve/cleanup logging (remove some log messages that don't naively
seem more useful than lots of things we don't log)
2. report problems in AttributeConverter application using an error
instead of a debug-level log message
3. various misc minor code cleanups in the Binders
2024-12-31 00:57:18 +01:00
Gavin King
17ea897a9d
HHH-18992 pass LockOptions correctly to multiple natural id loaders
2024-12-29 17:17:54 +01:00
Gavin King
571091fb7b
HHH-18992 pass LockOptions correctly to multiple id loaders
2024-12-29 17:17:54 +01:00
Gavin King
6b7e8b77fa
some code reorg related to dynamic instantiation
2024-12-29 16:02:26 +01:00
Gavin King
80fb5950ae
HHH-18979 add JpaCriteriaQuery.getRoot()
...
making it cleaner to manipulate criteria constructed from HQL
also clean up some dodgy unchecked casts
2024-12-29 14:58:16 +01:00
Gavin King
5e107b8981
HHH-18979 add Restriction.apply() so it can be easily used with criteria queries
2024-12-29 14:58:16 +01:00
Gavin King
7e14baa95d
HHH-18990 move Path and Restriction to their own package
2024-12-29 11:21:29 +01:00