Register / Login
Object Relational Mapping
hql delete join
posted 8 years ago
I am able to delete records from a single table.
But when i try to delete from multiple tables using joins Hiberate throws
Exception in thread "main" org.hibernate.hql.ast.QuerySyntaxException: unexpecte d token: , near line 1, column 31
My Query: " delete from org.hib.Table1 t1,org.hib.Table2 t2 where ta.id = t2.id and t2.name=name "
Can you please tell me how to delete records from multiple tables using joins
JPA Question : Deletion w.r.t One-to-many relation
CMP and Multiple Tables
JPA JPQL - How to Order the Joins
Regarding join statement?