com.mysema.query.jpa.hibernate
Class HibernateDeleteClause
java.lang.Object
com.mysema.query.jpa.hibernate.HibernateDeleteClause
- All Implemented Interfaces:
- DeleteClause<HibernateDeleteClause>, DMLClause<HibernateDeleteClause>, FilteredClause<HibernateDeleteClause>
public class HibernateDeleteClause
- extends Object
- implements DeleteClause<HibernateDeleteClause>
DeleteClause implementation for Hibernate
- Author:
- tiwe
HibernateDeleteClause
public HibernateDeleteClause(org.hibernate.Session session,
EntityPath<?> entity)
HibernateDeleteClause
public HibernateDeleteClause(org.hibernate.StatelessSession session,
EntityPath<?> entity)
HibernateDeleteClause
public HibernateDeleteClause(SessionHolder session,
EntityPath<?> entity,
JPQLTemplates templates)
execute
public long execute()
- Description copied from interface:
DMLClause
- Execute the clause and return the amount of affected rows
- Specified by:
execute
in interface DMLClause<HibernateDeleteClause>
- Returns:
where
public HibernateDeleteClause where(Predicate... o)
- Description copied from interface:
FilteredClause
- Adds the given filter conditions
- Specified by:
where
in interface FilteredClause<HibernateDeleteClause>
- Returns:
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2007-2011 Mysema Ltd. All Rights Reserved.