Move last query test and fix issue with parent table group access when parent is correlated
This commit is contained in:
parent
2666f3f6e0
commit
97dd838954
|
@ -1408,7 +1408,7 @@ public class ToOneAttributeMapping
|
|||
creationContext
|
||||
),
|
||||
(np, tableExpression) -> {
|
||||
if ( !canUseParentTableGroup ) {
|
||||
if ( !canUseParentTableGroup || tableGroupProducer != ToOneAttributeMapping.this ) {
|
||||
return false;
|
||||
}
|
||||
NavigablePath path = np.getParent();
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
* License: GNU Lesser General Public License (LGPL), version 2.1 or later.
|
||||
* See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
|
||||
*/
|
||||
package org.hibernate.query.hhh13670;
|
||||
package org.hibernate.orm.test.query.hhh13670;
|
||||
|
||||
import org.hibernate.testing.TestForIssue;
|
||||
import org.hibernate.testing.junit4.BaseCoreFunctionalTestCase;
|
Loading…
Reference in New Issue