public class BPELDAOConnectionFactoryImpl extends java.lang.Object implements BpelDAOConnectionFactoryJDBC
| Modifier and Type | Field and Description |
|---|---|
protected javax.persistence.EntityManagerFactory |
_emf |
| Constructor and Description |
|---|
BPELDAOConnectionFactoryImpl() |
| Modifier and Type | Method and Description |
|---|---|
protected BPELDAOConnectionImpl |
createBPELDAOConnection(javax.persistence.EntityManager em) |
BpelDAOConnection |
getConnection() |
javax.sql.DataSource |
getDataSource() |
static java.sql.Connection |
getExistingJDBCConnection() |
void |
init(java.util.Properties properties) |
void |
setDataSource(javax.sql.DataSource datasource) |
void |
setDBDictionary(java.lang.String dbd) |
void |
setTransactionManager(java.lang.Object tm) |
void |
setTransactionManager(javax.transaction.TransactionManager tm) |
void |
setUnmanagedDataSource(javax.sql.DataSource ds) |
void |
shutdown() |
public static java.sql.Connection getExistingJDBCConnection()
http://openjpa.apache.org/builds/2.2.1/apache-openjpa/docs/ref_guide_dbsetup_sqlconn.html.public BpelDAOConnection getConnection()
getConnection in interface BpelDAOConnectionFactoryprotected BPELDAOConnectionImpl createBPELDAOConnection(javax.persistence.EntityManager em)
public void init(java.util.Properties properties)
init in interface BpelDAOConnectionFactorypublic void setTransactionManager(javax.transaction.TransactionManager tm)
public void setDataSource(javax.sql.DataSource datasource)
setDataSource in interface BpelDAOConnectionFactoryJDBCpublic void setDBDictionary(java.lang.String dbd)
public void setTransactionManager(java.lang.Object tm)
setTransactionManager in interface BpelDAOConnectionFactoryJDBCpublic void setUnmanagedDataSource(javax.sql.DataSource ds)
setUnmanagedDataSource in interface BpelDAOConnectionFactoryJDBCpublic void shutdown()
shutdown in interface BpelDAOConnectionFactorypublic javax.sql.DataSource getDataSource()
getDataSource in interface BpelDAOConnectionFactoryCopyright © 2021 WSO2. All Rights Reserved.