Marco Belladelli (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=637b480...
) *commented* on HHH-16934 (
https://hibernate.atlassian.net/browse/HHH-16934?atlOrigin=eyJpIjoiYmNkMT...
)
Re: Fetching multiple fields of the same base class with InheritanceType.SINGLE_TABLE
throws PropertyAccessException (
https://hibernate.atlassian.net/browse/HHH-16934?atlOrigin=eyJpIjoiYmNkMT...
)
Hello Jan Friedrich (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=712020%...
) , thanks for reporting the issue. From what you’ve described, this seems closely related
to
https://hibernate.atlassian.net/browse/HHH-16494 , in that you’re trying to (left) join
an association to a sub-type entity in an inheritance structure, and expect only the
records corresponding to that sub-type to be joined.
To be sure of this, though, we would need to see the complete mapping of you model or,
even better, you could provide a simplified reproducer using our test case templates (
https://github.com/hibernate/hibernate-test-case-templates ).
Meanwhile, the issue I mentioned has a work in progress fix, you can follow that for any
updates.
(
https://hibernate.atlassian.net/browse/HHH-16934#add-comment?atlOrigin=ey...
) Add Comment (
https://hibernate.atlassian.net/browse/HHH-16934#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#100231- sha1:2991753 )