|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.mysema.query.jpa.hibernate.HibernateUpdateClause
public class HibernateUpdateClause
UpdateClause implementation for Hibernate
Constructor Summary | |
---|---|
HibernateUpdateClause(org.hibernate.Session session,
EntityPath<?> entity)
|
|
HibernateUpdateClause(SessionHolder session,
EntityPath<?> entity,
JPQLTemplates templates)
|
|
HibernateUpdateClause(org.hibernate.StatelessSession session,
EntityPath<?> entity)
|
Method Summary | ||
---|---|---|
long |
execute()
Execute the clause and return the amount of affected rows |
|
HibernateUpdateClause |
set(List<? extends Path<?>> paths,
List<?> values)
Set the paths to be updated |
|
|
set(Path<T> path,
Expression<? extends T> expression)
Add an expression binding |
|
|
set(Path<T> path,
T value)
Add a value binding |
|
|
setNull(Path<T> path)
Bind the given path to null |
|
String |
toString()
|
|
HibernateUpdateClause |
where(Predicate... o)
Adds the given filter conditions |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public HibernateUpdateClause(org.hibernate.Session session, EntityPath<?> entity)
public HibernateUpdateClause(org.hibernate.StatelessSession session, EntityPath<?> entity)
public HibernateUpdateClause(SessionHolder session, EntityPath<?> entity, JPQLTemplates templates)
Method Detail |
---|
public long execute()
DMLClause
execute
in interface DMLClause<HibernateUpdateClause>
public <T> HibernateUpdateClause set(Path<T> path, T value)
StoreClause
set
in interface StoreClause<HibernateUpdateClause>
path
- path to be updatedvalue
- value to set
public <T> HibernateUpdateClause set(Path<T> path, Expression<? extends T> expression)
StoreClause
set
in interface StoreClause<HibernateUpdateClause>
public <T> HibernateUpdateClause setNull(Path<T> path)
StoreClause
setNull
in interface StoreClause<HibernateUpdateClause>
public HibernateUpdateClause set(List<? extends Path<?>> paths, List<?> values)
UpdateClause
set
in interface UpdateClause<HibernateUpdateClause>
public HibernateUpdateClause where(Predicate... o)
FilteredClause
where
in interface FilteredClause<HibernateUpdateClause>
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |