|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opensubsystems.core.persist.db.DatabaseFactoryImpl
public abstract class DatabaseFactoryImpl
Base class for all database factories. This class is mainly collecting reusable code that can be useful for other factories.
| Field Summary | |
|---|---|
protected DatabaseConnectionFactory |
m_connectionFactory
Connection factory to use to get connections to the database. |
protected int |
m_iConcurrencySelectListResultSet
Result set concurrency to use load list, see ResultSet.CONCUR_XXX constants. |
protected int |
m_iDataType
Data type code for DataObject. |
protected int |
m_iTypeSelectListResultSet
Result set type to use load list, see ResultSet.TYPE_XXX constants. |
protected DatabaseTransactionFactory |
m_transactionFactory
Transaction factory to use to manage transactions on database connections. |
| Constructor Summary | |
|---|---|
DatabaseFactoryImpl(int iDataType)
Default constructor |
|
| Method Summary | |
|---|---|
int |
getConcurrencySelectListResultSet()
|
int |
getDataType()
Get data type code for DataObject. |
int |
getTypeSelectListResultSet()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.opensubsystems.core.persist.db.DatabaseFactory |
|---|
load |
| Field Detail |
|---|
protected DatabaseConnectionFactory m_connectionFactory
protected DatabaseTransactionFactory m_transactionFactory
protected int m_iTypeSelectListResultSet
protected int m_iConcurrencySelectListResultSet
protected int m_iDataType
| Constructor Detail |
|---|
public DatabaseFactoryImpl(int iDataType)
throws OSSException
iDataType - - data type the factory will be used for
OSSException - - an error has occured| Method Detail |
|---|
public int getConcurrencySelectListResultSet()
public int getTypeSelectListResultSet()
public int getDataType()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||