Package com.querydsl.jpa.hibernate
Class HibernateDeleteClause
java.lang.Object
com.querydsl.jpa.hibernate.HibernateDeleteClause
- All Implemented Interfaces:
DeleteClause<HibernateDeleteClause>,DMLClause<HibernateDeleteClause>,FilteredClause<HibernateDeleteClause>
DeleteClause implementation for Hibernate
- Author:
- tiwe
-
Constructor Summary
ConstructorsConstructorDescriptionHibernateDeleteClause(SessionHolder session, EntityPath<?> entity, JPQLTemplates templates) HibernateDeleteClause(org.hibernate.Session session, EntityPath<?> entity) HibernateDeleteClause(org.hibernate.Session session, EntityPath<?> entity, JPQLTemplates templates) HibernateDeleteClause(org.hibernate.StatelessSession session, EntityPath<?> entity) -
Method Summary
Modifier and TypeMethodDescriptionlongexecute()setLockMode(Path<?> path, org.hibernate.LockMode lockMode) Set the lock mode for the given path.toString()
-
Constructor Details
-
HibernateDeleteClause
-
HibernateDeleteClause
-
HibernateDeleteClause
public HibernateDeleteClause(org.hibernate.Session session, EntityPath<?> entity, JPQLTemplates templates) -
HibernateDeleteClause
-
-
Method Details
-
execute
public long execute()- Specified by:
executein interfaceDMLClause<HibernateDeleteClause>
-
where
- Specified by:
wherein interfaceFilteredClause<HibernateDeleteClause>
-
setLockMode
Set the lock mode for the given path. -
toString
-