Sanne Grinovero (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
) *created* an issue
Hibernate ORM (
https://hibernate.atlassian.net/browse/HHH?atlOrigin=eyJpIjoiYWYzN2EwMjBj...
) / Improvement (
https://hibernate.atlassian.net/browse/HHH-16716?atlOrigin=eyJpIjoiYWYzN2...
) HHH-16716 (
https://hibernate.atlassian.net/browse/HHH-16716?atlOrigin=eyJpIjoiYWYzN2...
) Expose ParameterMarkerStrategy on JDBCServices (
https://hibernate.atlassian.net/browse/HHH-16716?atlOrigin=eyJpIjoiYWYzN2...
)
Issue Type: Improvement Assignee: Sanne Grinovero (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
) Created: 30/May/2023 02:49 AM Labels: performance Priority: Minor Reporter: Sanne
Grinovero (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
)
Currently the ParameterMarkerStrategy is to be looked up from the ServiceRegistry or from
the FastSessionServices facility; however serviceregistry lookups are prone to runtime
type pollution while the fastsessionservices approach isn’t suitable for any component
which (potentially) gets also initialized before the SessionFactory is fully started.
Exposing ParameterMarkerStrategy on JDBCServices seems like better fit and keeps the code
clean from having to deal with such special cases.
(
https://hibernate.atlassian.net/browse/HHH-16716#add-comment?atlOrigin=ey...
) Add Comment (
https://hibernate.atlassian.net/browse/HHH-16716#add-comment?atlOrigin=ey...
)
Get Jira notifications on your phone! Download the Jira Cloud app for Android (
https://play.google.com/store/apps/details?id=com.atlassian.android.jira....
) or iOS (
https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=Em...
) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100225- sha1:d82e018 )