@Any mapping not working on HQL inserts

Description

Migrating from 5.6.4 to 6.2.6 I encountered a problem on HQL insert queries for entities using @Any mapping

Works fine if I load or persist new objects, but if I use HQL insert query, I have the following exception:

The problem occurs on 6.2.8 and 6.3.1-snapshot also. Could not test using 6.3.0 since I encounter the same error reported in

 

Test case:

 

 

 

Activity

Show:
Fixed

Details

Assignee

Reporter

Worked in

Sprint

Fix versions

Affects versions

Priority

Created September 14, 2023 at 7:01 AM
Updated October 26, 2023 at 3:33 PM
Resolved October 11, 2023 at 2:46 PM