Jan Schatteman (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
) *created* an issue
Hibernate ORM (
https://hibernate.atlassian.net/browse/HHH?atlOrigin=eyJpIjoiZDFjMDZmNjc4...
) / Bug (
https://hibernate.atlassian.net/browse/HHH-15667?atlOrigin=eyJpIjoiZDFjMD...
) HHH-15667 (
https://hibernate.atlassian.net/browse/HHH-15667?atlOrigin=eyJpIjoiZDFjMD...
) Column not found for lazy property (
https://hibernate.atlassian.net/browse/HHH-15667?atlOrigin=eyJpIjoiZDFjMD...
)
Issue Type: Bug Assignee: Unassigned Created: 04/Nov/2022 09:17 AM Priority: Major
Reporter: Jan Schatteman (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
)
If you run a named query on an entity that has a lazy property, but the query doesn’t
reference that lazy property, a missing column exception is being thrown for the lazy
property column, for the case where the result set mapping doesn’t explicitely include the
field results (see testcase LazySqlResultMappingTest. testGetIdWithoutUsingFieldResults
()`
(
https://hibernate.atlassian.net/browse/HHH-15667#add-comment?atlOrigin=ey...
) Add Comment (
https://hibernate.atlassian.net/browse/HHH-15667#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#100210- sha1:21ade21 )