I tried to execute a delete query as following in eclipse's HQL tool
delete from Address address where address.id = 6
but i got the
org.hibernate.hql.QueryExecutionRequestException: Not supported for DML operations
Please tell me that i've done wrong. Thank you.
Try the annotation @Modifying
on the update method.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With