public class HibernateDeleteClause extends Object implements DeleteClause<HibernateDeleteClause>
| Constructor and Description | 
|---|
| HibernateDeleteClause(org.hibernate.Session session,
                     EntityPath<?> entity) | 
| HibernateDeleteClause(org.hibernate.Session session,
                     EntityPath<?> entity,
                     JPQLTemplates templates) | 
| HibernateDeleteClause(SessionHolder session,
                     EntityPath<?> entity,
                     JPQLTemplates templates) | 
| HibernateDeleteClause(org.hibernate.StatelessSession session,
                     EntityPath<?> entity) | 
| Modifier and Type | Method and Description | 
|---|---|
| long | execute()Execute the clause and return the amount of affected rows | 
| HibernateDeleteClause | setLockMode(Path<?> path,
           org.hibernate.LockMode lockMode)Set the lock mode for the given path. | 
| String | toString() | 
| HibernateDeleteClause | where(Predicate... o)Adds the given filter conditions | 
public HibernateDeleteClause(org.hibernate.Session session,
                             EntityPath<?> entity)
public HibernateDeleteClause(org.hibernate.StatelessSession session,
                             EntityPath<?> entity)
public HibernateDeleteClause(org.hibernate.Session session,
                             EntityPath<?> entity,
                             JPQLTemplates templates)
public HibernateDeleteClause(SessionHolder session, EntityPath<?> entity, JPQLTemplates templates)
public long execute()
DMLClauseexecute in interface DMLClause<HibernateDeleteClause>public HibernateDeleteClause where(Predicate... o)
FilteredClauseSkips null arguments
where in interface FilteredClause<HibernateDeleteClause>o - filter conditions to be addedpublic HibernateDeleteClause setLockMode(Path<?> path, org.hibernate.LockMode lockMode)
Copyright © 2007–2015 Querydsl. All rights reserved.