|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jbpm.db.JbpmSessionFactory
JbpmContext and JbpmConfiguration instead.
public class JbpmSessionFactory
creates JbpmSessions. Obtain a JbpmSessionFactory with
static JbpmSessionFactory jbpmSessionFactory = JbpmSessionFactory.buildJbpmSessionFactory();and store it somewhere static. It takes quite some time to create a JbpmSessionFactory, but you only have to do it once. After that, creating JbpmSession's is really fast.
| Constructor Summary | |
|---|---|
JbpmSessionFactory(org.hibernate.cfg.Configuration configuration)
Deprecated. |
|
JbpmSessionFactory(org.hibernate.cfg.Configuration configuration,
org.hibernate.SessionFactory sessionFactory)
Deprecated. |
|
| Method Summary | |
|---|---|
static JbpmSessionFactory |
buildJbpmSessionFactory()
Deprecated. |
static JbpmSessionFactory |
buildJbpmSessionFactory(org.hibernate.cfg.Configuration configuration)
Deprecated. |
static JbpmSessionFactory |
buildJbpmSessionFactory(String configResource)
Deprecated. |
static org.hibernate.SessionFactory |
buildSessionFactory(org.hibernate.cfg.Configuration configuration)
Deprecated. |
static org.hibernate.cfg.Configuration |
createConfiguration()
Deprecated. |
static org.hibernate.cfg.Configuration |
createConfiguration(String configResource)
Deprecated. |
org.hibernate.cfg.Configuration |
getConfiguration()
Deprecated. |
static JbpmSessionFactory |
getInstance()
Deprecated. a singleton is kept in JbpmSessionFactory as a convenient central location. |
JbpmSchema |
getJbpmSchema()
Deprecated. |
org.hibernate.SessionFactory |
getSessionFactory()
Deprecated. |
boolean |
isHibernatableWithLongId(Class clazz)
Deprecated. checks if the given class is persistable with hibernate and has an id of type long. |
boolean |
isHibernatableWithStringId(Class clazz)
Deprecated. checks if the given class is persistable with hibernate and has an id of type string. |
JbpmSession |
openJbpmSession()
Deprecated. obtains a jdbc connection as specified in the hibernate configurations and creates a JbpmSession with it. |
JbpmSession |
openJbpmSession(Connection jdbcConnection)
Deprecated. creates a JbpmSession around the given connection. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JbpmSessionFactory(org.hibernate.cfg.Configuration configuration)
public JbpmSessionFactory(org.hibernate.cfg.Configuration configuration,
org.hibernate.SessionFactory sessionFactory)
| Method Detail |
|---|
public static JbpmSessionFactory getInstance()
public static JbpmSessionFactory buildJbpmSessionFactory()
public static JbpmSessionFactory buildJbpmSessionFactory(String configResource)
public static JbpmSessionFactory buildJbpmSessionFactory(org.hibernate.cfg.Configuration configuration)
public static org.hibernate.cfg.Configuration createConfiguration()
public static org.hibernate.cfg.Configuration createConfiguration(String configResource)
public static org.hibernate.SessionFactory buildSessionFactory(org.hibernate.cfg.Configuration configuration)
public JbpmSession openJbpmSession()
public JbpmSession openJbpmSession(Connection jdbcConnection)
public org.hibernate.SessionFactory getSessionFactory()
public org.hibernate.cfg.Configuration getConfiguration()
public boolean isHibernatableWithLongId(Class clazz)
public boolean isHibernatableWithStringId(Class clazz)
public JbpmSchema getJbpmSchema()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||