Port changes for HHH-5348 to 3.6 branch

Description

This

and this

ends up with:

java.lang.IllegalArgumentException: Cannot create TypedQuery for query with more than one return

Both should work according to docs.

This has been reported and worked on as per HHH-5348, but the issue prevails.

Environment

None

Activity

Show:
Steve Ebersole
August 23, 2011, 9:35 PM

Changes for were only ever applied to master (4.0) not to the 3.6 branch

Steve Ebersole
August 24, 2011, 7:48 PM

Ported

King
August 26, 2011, 10:14 AM

good job!! man~~~

Oliver Siegmar
September 28, 2011, 7:02 PM

This bug still occurs on 3.6.8-SNAPSHOT (hibernate-core-3.6.8-20110915.041553-9 and hibernate-entitymanager-3.6.8-20110915.043955-9) when using a named query. When using the very same query as a non-named query it works.

Oliver Siegmar
September 29, 2011, 7:14 PM

Created a new issue to track this:

Assignee

Steve Ebersole

Reporter

Ondrej Zizka

Fix versions

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Affects versions

Priority

Major
Configure