Issues

Select view

Select search mode

 
47 of 47

HQL subquery with constraint property in superclass does not join superclass table

Fixed

Description

Given the following entities:

For the query:

NOTE: employee.firstName is in Person table (not Employee)

The following SQL is generated:

The alias, employees1_1_ does not correspond to any table involved in the query. Person table should have been joined with Employee because firstName is declared in Person.

Details

Assignee

Reporter

Components

Fix versions

Affects versions

Priority

Created October 19, 2016 at 4:39 AM
Updated October 26, 2016 at 1:20 PM
Resolved October 20, 2016 at 9:25 PM

Activity

Show:

Former user October 20, 2016 at 9:25 PM

Fixed in master, 5.1, and 5.0 branches.

Loading...