public class HibernateDeleteClause extends java.lang.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
|
java.lang.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 java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2007-2013 Mysema Ltd. All Rights Reserved.