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()
DMLClause
execute
in interface DMLClause<HibernateDeleteClause>
public HibernateDeleteClause where(Predicate... o)
FilteredClause
Skips null arguments
where
in interface FilteredClause<HibernateDeleteClause>
o
- filter conditions to be addedpublic java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2007-2013 Mysema Ltd. All Rights Reserved.