Discussion:
[nhusers] HQL DML and Many-To-Many relations
Mazhar
2018-04-10 15:23:32 UTC
Permalink
How to truncate a many-to-many mapped table using HQL? Here is my schema

Group: Id, Name
User: Id, UserName
UserGroup: UserId,GroupId

Is there anyway to make an bulk delete query for UserGroup table without
needing to load and clear the collection?
--
You received this message because you are subscribed to the Google Groups "nhusers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nhusers+***@googlegroups.com.
To post to this group, send email to ***@googlegroups.com.
Visit this group at https://groups.google.com/group/nhusers.
For more options, visit https://groups.google.com/d/optout.
Loading...