| Hi, I have pushed the test to our fork of the repository. Used Cat and Person as sample entities https://github.com/OpenCST/hibernate-test-case-templates/tree/HHH-10862 I made a specific branch for this ticket in order to reuse the template for the future. In my simple test code I don't either run the queries nor set their attributes, because the exception is in the createQuery method itself
s.createQuery("delete from " + Cat.class.getCanonicalName() + " item where item.owner.id in (:oid)");
s.createQuery("delete from " + Cat.class.getCanonicalName() + " item where item.ownerId in (:oid)");
|