Skip to content

Conversation

gavinking
Copy link
Owner

[Please describe here what your change is about]


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license
and can be relicensed under the terms of the LGPL v2.1 license in the future at the maintainers' discretion.
For more information on licensing, please check here.


dreab8 and others added 30 commits May 28, 2025 13:54
to avoid unnecessary proxy initializan when JPA proxy compliance is enabled
Signed-off-by: Jan Schatteman <[email protected]>
Add @OverRide to includeEntityProperty
because the JDK version is not available in FIPS mode
and eliminate unnecessary use of anon function
- simply delete one which was @Incubating
- replace others via deprecation
- getValueConverter() to return JPA AttributeConverter
  since this is a much less technical interface and is
  easier for user to implement
- had to fix a problem with embeddable discriminators
  manifesting in JsonHelper and StructHelper and took
  the opportunity to clean up use of generic types
- now probably need efficient impls of isInstance()
change the assertions about how many statements are executed

in the cases covered in these tests, the external behavior is
portable, which is great. On the other hand, there are also
cases where @onDelete(CASCADE) is unportable, and perhaps in
those cases we should detect and throw when @onDelete(CASCADE)
is used on a platform with no 'on delete cascade' construct
(i.e. on Sybase)
previously this was (unnecessarily) disallowed
cigaly and others added 29 commits June 18, 2025 13:16
So that we always set the test release version, in particular.
…r SQM nodes

- finally enables efficient caching of criteria query plans
- also reconsider how alias generation is done - aliases should only
  be unique to a given query, NOT globally unique, since that results
  in interpretation cache misses
- ran into and fixed several other problems along the way
- note that the previous solution based on translating to HQL was not
  working at all, partly because the translation to HQL is not very
  correct - but anyway this is more efficient, since hashCodes are
  in general more flexible from an efficiency perspective
- there is still a remaining problem where NavigablePaths elements
  are assigned globally unique aliases resulting in cache misses
…oblem

- just deprecate the method, since HQL doesn't allow anonymous CTEs
- perhaps we need to do the same for the withRescursiveXxxxx() methods
- I don't really see a better fix, since nested CTEs can be composed
  before composing them with the outer query (perhaps we could modify
  the aliases of all CTEs after the whole query is built)
Oracle disapproves of aliases of form "_1"
@gavinking gavinking closed this Jun 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.