[hibernate-issues] [JIRA] (HHH-14044) Extract code from Loader into protected methods

Gail Badner (JIRA) jira at hibernate.atlassian.net
Wed May 27 00:57:44 EDT 2020


Gail Badner ( https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3Aabbef6b0-cce3-4556-9748-b721becb9c9a ) *created* an issue

Hibernate ORM ( https://hibernate.atlassian.net/browse/HHH?atlOrigin=eyJpIjoiYWFhN2YyMGNjZjRkNGE3ZDgzYjY3MGEwYTU0ZGEyZjciLCJwIjoiaiJ9 ) / Task ( https://hibernate.atlassian.net/browse/HHH-14044?atlOrigin=eyJpIjoiYWFhN2YyMGNjZjRkNGE3ZDgzYjY3MGEwYTU0ZGEyZjciLCJwIjoiaiJ9 ) HHH-14044 ( https://hibernate.atlassian.net/browse/HHH-14044?atlOrigin=eyJpIjoiYWFhN2YyMGNjZjRkNGE3ZDgzYjY3MGEwYTU0ZGEyZjciLCJwIjoiaiJ9 ) Extract code from Loader into protected methods ( https://hibernate.atlassian.net/browse/HHH-14044?atlOrigin=eyJpIjoiYWFhN2YyMGNjZjRkNGE3ZDgzYjY3MGEwYTU0ZGEyZjciLCJwIjoiaiJ9 )

Issue Type: Task Assignee: Gail Badner ( https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3Aabbef6b0-cce3-4556-9748-b721becb9c9a ) Components: hibernate-core Created: 26/May/2020 21:57 PM Fix Versions: 5.5.0.Beta1, 5.4.17 Priority: Major Reporter: Gail Badner ( https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3Aabbef6b0-cce3-4556-9748-b721becb9c9a )

This is for Hibernate Reactive:
https://github.com/hibernate/hibernate-reactive/issues/120.

The changes:

* extract code from `Loader#prepareQueryStatement` that binds a `PreparedStatement` into `protected` method named `#bindPreparedStatement`;
* change `private processResultSet( ResultSet, RowSelection, LimitHandler, boolean, SharedSessionContractImplementor)` to `protected preprocessResultSet(...)`, since it really does preprocessing. (`#processResultSet(ResultSet , QueryParameters, SharedSessionContractImplementor, boolean, ResultTransformer, int, List<AfterLoadAction>) actually does the processing).

( https://hibernate.atlassian.net/browse/HHH-14044#add-comment?atlOrigin=eyJpIjoiYWFhN2YyMGNjZjRkNGE3ZDgzYjY3MGEwYTU0ZGEyZjciLCJwIjoiaiJ9 ) Add Comment ( https://hibernate.atlassian.net/browse/HHH-14044#add-comment?atlOrigin=eyJpIjoiYWFhN2YyMGNjZjRkNGE3ZDgzYjY3MGEwYTU0ZGEyZjciLCJwIjoiaiJ9 )

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.core&referrer=utm_source%3DNotificationLink%26utm_medium%3DEmail ) or iOS ( https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailNotificationLink&mt=8 ) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100127- sha1:dccb6b5 )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/hibernate-issues/attachments/20200527/78548000/attachment.html 


More information about the hibernate-issues mailing list