I want to know hql analog for SQL:
delete license from license, license_pool
where license.license_pool_id = license_pool.license_pool_id
and license.school_id = 13
and license_pool.program_id = 1
and license.staff_member_id is null
I want to know hql analog for SQL:
delete license from license, license_pool
where license.license_pool_id = license_pool.license_pool_id
and license.school_id = 13
and license_pool.program_id = 1
and license.staff_member_id is null
I know this is an old question, but here is your answer. This can be found in the documentation for hibernate in the "DML-style operations" section (which pertains to HQL updates and deletes).