public final class Persister
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Method and Description |
---|---|
org.hibernate.Transaction |
beginTransaction() |
void |
closeDB() |
void |
commit() |
org.hibernate.Query |
createQuery(java.lang.String query) |
boolean |
delete(java.lang.Object obj) |
boolean |
delete(java.lang.Object obj,
boolean commit) |
boolean |
delete(java.lang.Object obj,
org.hibernate.Transaction tx) |
java.util.List |
execQuery(java.lang.String query) |
java.util.List |
execSQLQuery(java.lang.String query) |
int |
execUpdate(java.lang.String statement) |
int |
execUpdate(java.lang.String statement,
boolean commit) |
java.lang.Object |
get(java.lang.Class claz,
java.io.Serializable key) |
static Persister |
getInstance() |
org.hibernate.Transaction |
getOrBeginTransaction() |
boolean |
insert(java.lang.Object obj) |
boolean |
insert(java.lang.Object obj,
boolean commit) |
boolean |
insert(java.lang.Object obj,
org.hibernate.Transaction tx) |
java.lang.Object |
load(java.lang.Class claz,
java.io.Serializable key) |
void |
rollback() |
java.util.List |
select(java.lang.Object obj) |
java.util.List |
select(java.lang.String className) |
java.util.Map<java.lang.String,java.lang.Object> |
selectMap(java.lang.String className) |
java.lang.Object |
selectScalar(java.lang.String className,
java.lang.String id) |
java.util.List |
selectWhere(java.lang.String className,
java.lang.String whereClause) |
boolean |
update(java.lang.Object obj) |
boolean |
update(java.lang.Object obj,
boolean commit) |
boolean |
update(java.lang.Object obj,
org.hibernate.Transaction tx) |
public static Persister getInstance()
public java.util.Map<java.lang.String,java.lang.Object> selectMap(java.lang.String className)
public java.util.List select(java.lang.Object obj)
public java.util.List select(java.lang.String className)
public java.util.List selectWhere(java.lang.String className, java.lang.String whereClause)
public java.util.List execQuery(java.lang.String query)
public java.util.List execSQLQuery(java.lang.String query)
public int execUpdate(java.lang.String statement)
public int execUpdate(java.lang.String statement, boolean commit)
public org.hibernate.Query createQuery(java.lang.String query)
public org.hibernate.Transaction beginTransaction()
public org.hibernate.Transaction getOrBeginTransaction()
public java.lang.Object load(java.lang.Class claz, java.io.Serializable key)
public java.lang.Object get(java.lang.Class claz, java.io.Serializable key)
public void commit()
public void rollback()
public void closeDB()
public java.lang.Object selectScalar(java.lang.String className, java.lang.String id)
public boolean update(java.lang.Object obj)
public boolean delete(java.lang.Object obj)
public boolean insert(java.lang.Object obj)
public boolean update(java.lang.Object obj, org.hibernate.Transaction tx)
public boolean delete(java.lang.Object obj, org.hibernate.Transaction tx)
public boolean insert(java.lang.Object obj, org.hibernate.Transaction tx)
public boolean update(java.lang.Object obj, boolean commit)
public boolean delete(java.lang.Object obj, boolean commit)
public boolean insert(java.lang.Object obj, boolean commit)
Copyright © 2004-2014 The YAWL Foundation.