|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object toolbox.dao.AbstractDaoManager toolbox.dao.GenericDaoManager
public class GenericDaoManager
Generic DaoManager implementation that should work with most JDBC compliant databases.
This class utilises the MetaDataHelper of this package to extract information from the ResultSetMetaData and DatabaseMetaData interfaces provided by the java.sql package.
Field Summary |
---|
Fields inherited from class toolbox.dao.AbstractDaoManager |
---|
m_statements, m_tableDefs, m_xmlProps |
Constructor Summary | |
---|---|
GenericDaoManager()
Default constructor |
Method Summary | |
---|---|
void |
init(XMLProperties xmlProps)
Initialise the manager with XML configuration containing the definition of the data dictionary that is abstracted and the physical database configuration parameters. |
Methods inherited from class toolbox.dao.AbstractDaoManager |
---|
destroy, freeResources, getConnection, getDaoWorker, getListBuilder, getName, initFinal, initSQL, initStart, newTransactionContext, releaseConnection, setName |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GenericDaoManager()
Method Detail |
---|
public void init(XMLProperties xmlProps) throws DaoException
xmlProps
- XML configuration containing data dictionary definition.
DaoException
- if the manager cannot be initialised.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |