public class HibernateUpdateClause extends Object implements UpdateClause<HibernateUpdateClause>
| Constructor and Description |
|---|
HibernateUpdateClause(org.hibernate.Session session,
EntityPath<?> entity) |
HibernateUpdateClause(org.hibernate.Session session,
EntityPath<?> entity,
JPQLTemplates templates) |
HibernateUpdateClause(SessionHolder session,
EntityPath<?> entity,
JPQLTemplates templates) |
HibernateUpdateClause(org.hibernate.StatelessSession session,
EntityPath<?> entity) |
| Modifier and Type | Method and Description |
|---|---|
long |
execute() |
boolean |
isEmpty() |
HibernateUpdateClause |
set(List<? extends Path<?>> paths,
List<?> values) |
<T> HibernateUpdateClause |
set(Path<T> path,
Expression<? extends T> expression) |
<T> HibernateUpdateClause |
set(Path<T> path,
T value) |
HibernateUpdateClause |
setLockMode(Path<?> path,
org.hibernate.LockMode lockMode)
Set the lock mode for the given path.
|
<T> HibernateUpdateClause |
setNull(Path<T> path) |
String |
toString() |
HibernateUpdateClause |
where(Predicate... o) |
public HibernateUpdateClause(org.hibernate.Session session,
EntityPath<?> entity)
public HibernateUpdateClause(org.hibernate.StatelessSession session,
EntityPath<?> entity)
public HibernateUpdateClause(org.hibernate.Session session,
EntityPath<?> entity,
JPQLTemplates templates)
public HibernateUpdateClause(SessionHolder session, EntityPath<?> entity, JPQLTemplates templates)
public long execute()
execute in interface DMLClause<HibernateUpdateClause>public <T> HibernateUpdateClause set(Path<T> path, T value)
set in interface StoreClause<HibernateUpdateClause>public <T> HibernateUpdateClause set(Path<T> path, Expression<? extends T> expression)
set in interface StoreClause<HibernateUpdateClause>public <T> HibernateUpdateClause setNull(Path<T> path)
setNull in interface StoreClause<HibernateUpdateClause>public HibernateUpdateClause set(List<? extends Path<?>> paths, List<?> values)
set in interface UpdateClause<HibernateUpdateClause>public HibernateUpdateClause where(Predicate... o)
where in interface FilteredClause<HibernateUpdateClause>public HibernateUpdateClause setLockMode(Path<?> path, org.hibernate.LockMode lockMode)
public boolean isEmpty()
isEmpty in interface StoreClause<HibernateUpdateClause>Copyright © 2007–2015 Mysema Ltd. All rights reserved.