Fabio Massimo Ercoli (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
) *created* an issue
Hibernate Search (
https://hibernate.atlassian.net/browse/HSEARCH?atlOrigin=eyJpIjoiNzE3MDE2...
) / Task (
https://hibernate.atlassian.net/browse/HSEARCH-3896?atlOrigin=eyJpIjoiNzE...
) HSEARCH-3896 (
https://hibernate.atlassian.net/browse/HSEARCH-3896?atlOrigin=eyJpIjoiNzE...
) Verify multiple loading with the DefaultProjectionHitMapper on the same query instance (
https://hibernate.atlassian.net/browse/HSEARCH-3896?atlOrigin=eyJpIjoiNzE...
)
Issue Type: Task Affects Versions: 6.0.0.Beta6 Assignee: Unassigned Components:
mapper-javabean, mapper-orm, mapper-pojo Created: 17/Apr/2020 02:01 AM Fix Versions:
6.0.0.Beta-backlog-high-priority Priority: Major Reporter: Fabio Massimo Ercoli (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
)
Trying to execute the same query instance, it seems that it carries some state from the
previous executions.
We have probably to inspect the DefaultProjectionHitMapper behavior.
Probably it needs to be stateless or we need to change the method
*.loading.context.spi.LoadingContext#getProjectionHitMapper into
createProjectionHitMapper.
We need a test case for it maybe on
*.mapper.orm.search.loading.AbstractSearchQueryEntityLoadingIT.
Having that working will allow us to reuse (to cache) the query instances within the same
thread.
(
https://hibernate.atlassian.net/browse/HSEARCH-3896#add-comment?atlOrigin...
) Add Comment (
https://hibernate.atlassian.net/browse/HSEARCH-3896#add-comment?atlOrigin...
)
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#100124- sha1:93e2dd3 )