ORA « Batch « JPA Q&A





1. ORA-00918 with batch delete    forum.hibernate.org

I'm trying to execute the following delete statement with hibernate : Delete Teilabschn Where teilnetz in ( Select tn From Teilnetz tn join tn.objektbezFremd as bez where bez.projekt=? ) With hsqldb everything works. With oracle i get an java.sql.SQLException: ORA-00918: Spalte nicht eindeutig definiert (column not uniquely identified) The generated sql looks like this : delete from SYSADM5.TEILABSCHN where TEILNETZ_ID in ...