Hi! It is possible that this might be fixed? https://hibernate.atlassian.net/browse/HHH-16414 We have an issue where it seems that all of a sudden , once last week and now yesterday again. Hibernate generates a query where it uses wrong alias, when trying to find relations to “person“, by using “aktør“ (a kind of ident). When we restart the application, it works again. It generates: join aktoer a1_1 on a1_0 select ... from po_sivilstand s1_0 where s1_0.fk_po_person_id in(select p1_0.id from po_person p1_0 join aktoer a1_1 on a1_0.aktoer_id=p1_0.fk_aktoer_id where p1_0.fk_aktoer_id=$1) Code:
|