Issues

Select view

Select search mode

 
50 of 62

"query specified join fetching, but the owner of the fetched association was not present in the select list" with @ElementCollection

Fixed

Description

the following QueryException occours if we execute the JPQL: SELECT b FROM A a INNER JOIN a.bs b INNER JOIN FETCH b.someOtherLongs. Without the INNER JOIN FETCH b.someOtherLongs it works fine. The attribute someOtherLongs is a @ElementCollection

TestCases are attached

Attachments

2
  • 29 Sep 2016, 10:26 AM
  • 08 Jul 2013, 08:31 AM

Details

Assignee

Reporter

Components

Fix versions

Priority

Created July 8, 2013 at 8:31 AM
Updated July 23, 2020 at 10:22 AM
Resolved September 29, 2016 at 6:01 PM

Activity

Show:

Steve EbersoleSeptember 29, 2016 at 1:53 PM

Your tests seem to use Hibernate ORM, so it would in fact seem you just picked the wrong project - moved.

Steve EbersoleSeptember 29, 2016 at 1:49 PM

This Jira project is used for very special query parser that is only used outside of Hibernate ORM. Did you mean to report this problem as occurring when using Hibernate ORM?

Christian BeikovSeptember 29, 2016 at 10:27 AM

I don't know if this should be transitioned to be a Hibernate core issue but this still affects Hibernate 5.2.2.

Flag notifications