Uses of Class
com.jenkov.mrpersister.itf.PersistenceException

Packages that use PersistenceException
com.jenkov.mrpersister   
com.jenkov.mrpersister.impl   
com.jenkov.mrpersister.impl.command   
com.jenkov.mrpersister.impl.filter   
com.jenkov.mrpersister.impl.mapping   
com.jenkov.mrpersister.impl.mapping.method   
com.jenkov.mrpersister.itf   
com.jenkov.mrpersister.itf.command   
com.jenkov.mrpersister.itf.mapping   
com.jenkov.mrpersister.util   
 

Uses of PersistenceException in com.jenkov.mrpersister
 

Methods in com.jenkov.mrpersister that throw PersistenceException
 IDaos PersistenceManager.createDaos()
          Equivalent to calling getDaosFactory().createDao();
 java.lang.Object PersistenceManager.execute(IDaoCommand daoCommand)
          Equivalent to calling getDaoCommandExecutor().execute(daoCommand);
 java.lang.Object PersistenceManager.executeTransaction(IDaoCommand daoCommand)
          Equivalent to calling getDaoCommandExecutor().executeTransaction(daoCommand);
 

Constructors in com.jenkov.mrpersister that throw PersistenceException
MappingTool(java.lang.String[] args)
          Initializes the MappingTool instance with arguments passed from the command line.
 

Uses of PersistenceException in com.jenkov.mrpersister.impl
 

Methods in com.jenkov.mrpersister.impl that throw PersistenceException
protected  void AbstractDao.close(java.sql.Connection connection)
          Closes the given Connection
protected  void AbstractDao.close(java.sql.PreparedStatement statement)
          Closes the given PreparedStatement
protected  void AbstractDao.close(java.sql.ResultSet result)
          Closes the given ResultSet
protected  void AbstractDao.close(java.sql.Statement statement)
          Closes the given Statement
 void GenericDao.closeConnection()
           
 void GenericDao.commit()
           
protected  IObjectMapping AbstractDao.createManualObjectMapping(java.lang.Object objectMappingKey)
          Override this method to provide a manually created object mapping for an object mapping key (a class to be mapped).
 java.lang.Object ObjectReader.createNoArgumentInstance(java.lang.Class persistentObjectClass)
           
protected  IObjectMapping AbstractDao.createObjectMapping(java.lang.Class theClass)
          Creates an object mapping that maps the class to a table and fields in the database by guessing the table and column names.
protected  IObjectMapping AbstractDao.createObjectMapping(java.lang.Class theClass, java.lang.String tableName)
          Creates an object mapping that maps the class to the table with the table name given in the tableName parameter.
 java.lang.Object ObjectReader.createResultSetArgumentInstance(java.lang.Class persistentObjectClass, java.sql.ResultSet result, java.lang.reflect.Constructor constructor)
           
 UpdateResult ObjectWriter.delete(IObjectMapping mapping, java.lang.Object object, java.lang.String sql, java.sql.Connection connection)
           
 int GenericDao.delete(java.lang.Object object)
           
protected  int AbstractDao.delete(java.lang.Object object)
          Same as delete(Object objectMappingKey, Object object) but uses the object.getClass() as the object mapping key.
protected  int AbstractDao.delete(java.lang.Object object, java.sql.Connection connection)
          Same as delete(Object objectMappingKey, Object object, Connection connection) but uses the object.getClass() as the object mapping key.
 int GenericDao.delete(java.lang.Object objectMappingKey, java.lang.Object object)
           
protected  int AbstractDao.delete(java.lang.Object objectMappingKey, java.lang.Object object)
          Deletes the record from the database coresponding to the given object, according to the object mapping stored or generated by the given object mapping key.
protected  int AbstractDao.delete(java.lang.Object objectMappingKey, java.lang.Object object, java.sql.Connection connection)
          Deletes the record from the database coresponding to the given object, according to the object mapping stored or generated by the given object mapping key.
 int[] GenericDao.deleteBatch(java.util.Collection objects)
           
protected  int[] AbstractDao.deleteBatch(java.util.Collection objects)
          Same as deleteBatch(Object objectMappingKey, Collection objects) but uses the class returned by the getClass() method of the first object in the collection, as returned by the collection iterator, as the object mapping key.
protected  int[] AbstractDao.deleteBatch(java.util.Collection objects, java.sql.Connection connection)
          Same as deleteBatch(Object objectMappingKey, Collection objects, Connection connection) but uses the class returned by the getClass() method of the first object in the collection, as returned by the collection iterator, as the object mapping key.
 UpdateResult ObjectWriter.deleteBatch(IObjectMapping mapping, java.util.Collection objects, java.lang.String sql, java.sql.Connection connection)
           
 int[] GenericDao.deleteBatch(java.lang.Object objectMappingKey, java.util.Collection objects)
           
protected  int[] AbstractDao.deleteBatch(java.lang.Object objectMappingKey, java.util.Collection objects)
          Deletes the records from the database coresponding to the given objects, according to the object mapping stored or generated by the given object mapping key.
protected  int[] AbstractDao.deleteBatch(java.lang.Object objectMappingKey, java.util.Collection objects, java.sql.Connection connection)
          Deletes the records from the database coresponding to the given objects, according to the object mapping stored or generated by the given object mapping key.
 int[] GenericDao.deleteBatchByPrimaryKeys(java.lang.Object objectMappingKey, java.util.Collection primaryKeys)
           
 UpdateResult ObjectWriter.deleteByPrimaryKey(IObjectMapping mapping, java.lang.Object primaryKey, java.lang.String sql, java.sql.Connection connection)
           
 int GenericDao.deleteByPrimaryKey(java.lang.Object objectMappingKey, java.lang.Object primaryKey)
           
protected  int AbstractDao.deleteByPrimaryKey(java.lang.Object objectMappingKey, java.lang.Object primaryKey)
          Deletes the record from the database matching the given primary key, according to the object mapping stored or generated by the given object mapping key.
protected  int AbstractDao.deleteByPrimaryKey(java.lang.Object objectMappingKey, java.lang.Object primaryKey, java.sql.Connection connection)
          Deletes the record from the database matching the given primary key, according to the object mapping stored or generated by the given object mapping key.
 UpdateResult ObjectWriter.deleteByPrimaryKeysBatch(IObjectMapping mapping, java.util.Collection primaryKeys, java.lang.String sql, java.sql.Connection connection)
           
protected  int[] AbstractDao.deleteByPrimaryKeysBatch(java.lang.Object objectMappingKey, java.util.Collection primaryKeys)
          Deletes the records from the database coresponding to the given primaryKeys, according to the object mapping stored or generated by the given object mapping key.
protected  int[] AbstractDao.deleteByPrimaryKeysBatch(java.lang.Object objectMappingKey, java.util.Collection primaryKeys, java.sql.Connection connection)
          Deletes the records from the database coresponding to the given primaryKeys, according to the object mapping stored or generated by the given object mapping key.
 java.lang.Object PreparedStatementManagerBase.execute(java.sql.PreparedStatement statement)
           
 int GenericDao.executeUpdate(java.lang.String sql)
           
 int GenericDao.executeUpdate(java.lang.String sql, java.util.Collection parameters)
           
 int GenericDao.executeUpdate(java.lang.String sql, java.lang.Object[] parameters)
           
 java.lang.String SqlGenerator.generateDeleteStatement(IObjectMapping mapping)
           
 java.lang.String SqlGenerator.generateInsertStatement(IObjectMapping mapping)
           
 java.lang.String SqlGenerator.generateReadByPrimaryKeyStatement(IObjectMapping mapping)
           
 java.lang.String SqlGenerator.generateReadListByPrimaryKeysStatement(IObjectMapping mapping, int primaryKeyCount)
           
 java.lang.String SqlGenerator.generateUpdateOptimisticStatement(IObjectMapping mapping)
           
 java.lang.String SqlGenerator.generateUpdateStatement(IObjectMapping mapping)
           
protected  IPersistenceConfiguration AbstractDao.getConfiguration()
          Returns the persistence configuration used by this DAO class.
protected  IPersistenceConfiguration GenericDao.getConfigurationOrFail()
          Returns the persistence configuration used by this DAO class.
protected abstract  java.sql.Connection AbstractDao.getConnection()
          Override this method to return a database connection to the database you want to connect to.
protected  IObjectMapper GenericDao.getObjectMapper()
          Returns the object mapper set in the persistence configuration used by this DAO class.
protected  IObjectMapper AbstractDao.getObjectMapper()
          Returns the object mapper set in the persistence configuration used by this DAO class.
protected  IObjectMapping GenericDao.getObjectMapping(java.lang.Object objectMappingKey)
          Returns the object mapping stored in the object mapping cache by the given method key.
protected  IObjectMapping AbstractDao.getObjectMapping(java.lang.Object objectMappingKey)
          Returns the object mapping stored in the object mapping cache by the given method key.
protected  IObjectMappingCache GenericDao.getObjectMappingCache()
          Returns the object mapping cache from the persistence configuration used by this DAO class.
protected  IObjectMappingCache AbstractDao.getObjectMappingCache()
          Returns the object mapping cache from the persistence configuration used by this DAO class.
protected  IObjectReader GenericDao.getObjectReader()
          Returns the object reader used in the persistence configuration used by this DAO class.
protected  IObjectReader AbstractDao.getObjectReader()
          Returns the object reader used in the persistence configuration used by this DAO class.
protected  IObjectWriter GenericDao.getObjectWriter()
          Returns the object writer used in the persistence configuration used by this DAO class.
protected  IObjectWriter AbstractDao.getObjectWriter()
          Returns the object writer used in the persistence configuration used by this DAO class.
 java.lang.Object ResultSetProcessorBase.getResult()
           
protected  ISqlGenerator GenericDao.getSqlGenerator()
          Returns the SQL generator used in the persistence configuration used by this DAO class.
protected  ISqlGenerator AbstractDao.getSqlGenerator()
          Returns the SQL generator used in the persistence configuration used by this DAO class.
 void PreparedStatementManagerBase.init(java.sql.PreparedStatement statement)
           
 void ResultSetProcessorBase.init(java.sql.ResultSet result)
           
 UpdateResult ObjectWriter.insert(IObjectMapping mapping, java.lang.Object object, java.lang.String sql, java.sql.Connection connection)
           
 int GenericDao.insert(java.lang.Object object)
           
protected  int AbstractDao.insert(java.lang.Object object)
          Same as insert(Object objectMappingKey, Object object), but uses object.getClass() as the object mapping key.
protected  int AbstractDao.insert(java.lang.Object object, java.sql.Connection connection)
          Same as insert(Object objectMappingKey, Object object, Connection connection), but uses object.getClass() as the object mapping key.
 int GenericDao.insert(java.lang.Object objectMappingKey, java.lang.Object object)
           
protected  int AbstractDao.insert(java.lang.Object objectMappingKey, java.lang.Object object)
          Inserts a record in the database with the values from the given object according to the object mapping stored or generated by the given object mapping key.
protected  int AbstractDao.insert(java.lang.Object objectMappingKey, java.lang.Object object, java.sql.Connection connection)
          Inserts a record in the database with the values from the given object according to the object mapping stored or generated by the given object mapping key.
 int[] GenericDao.insertBatch(java.util.Collection objects)
           
protected  int[] AbstractDao.insertBatch(java.util.Collection objects)
          Same as insertBatch(Object objectMappingKey, Collection objects) but uses the class returned by the getClass() of the first element in the collection as the object mapping key.
protected  int[] AbstractDao.insertBatch(java.util.Collection objects, java.sql.Connection connection)
          Same as insertBatch(Object objectMappingKey, Collection objects, Connection connection) the class returned by the getClass() of the first element in the collection as the object mapping key.
 UpdateResult ObjectWriter.insertBatch(IObjectMapping mapping, java.util.Collection objects, java.lang.String sql, java.sql.Connection connection)
           
 int[] GenericDao.insertBatch(java.lang.Object objectMappingKey, java.util.Collection objects)
           
protected  int[] AbstractDao.insertBatch(java.lang.Object objectMappingKey, java.util.Collection objects)
          Inserts several records into the database with the values from the given objects according to the object mapping stored or generated by the given object mapping key.
protected  int[] AbstractDao.insertBatch(java.lang.Object objectMappingKey, java.util.Collection objects, java.sql.Connection connection)
          Inserts a record in the database with the values from the given object according to the object mapping stored or generated by the given object mapping key.
protected  java.lang.Object ObjectReader.newInstance(java.lang.Class persistentObjectClass, java.sql.ResultSet result)
          UTILTY METHODS BELOW
 void PreparedStatementManagerBase.postProcess(java.sql.PreparedStatement statement)
           
 java.sql.PreparedStatement PreparedStatementManagerBase.prepare(java.lang.String sql, java.sql.Connection connection)
           
 void ResultSetProcessorBase.process(java.sql.ResultSet result, IDaos daos)
           
 java.lang.Object ObjectReader.read(IObjectMapping mapping, java.sql.PreparedStatement preparedStatement)
           
 java.lang.Object ObjectReader.read(IObjectMapping mapping, java.sql.PreparedStatement preparedStatement, java.lang.Object persistentObject)
           
 java.lang.Object ObjectReader.read(IObjectMapping mapping, java.sql.ResultSet result)
           
 java.lang.Object ObjectReader.read(IObjectMapping mapping, java.sql.ResultSet result, java.lang.Object persistentObject)
           
 java.lang.Object ObjectReader.read(IObjectMapping mapping, java.sql.Statement statement, java.lang.String sql)
           
 java.lang.Object ObjectReader.read(IObjectMapping mapping, java.lang.String sql, java.util.Collection parameters, java.sql.Connection connection)
           
 java.lang.Object ObjectReader.read(IObjectMapping mapping, java.lang.String sql, java.sql.Connection connection)
           
 java.lang.Object ObjectReader.read(IObjectMapping mapping, java.lang.String sql, java.lang.Object[] parameters, java.sql.Connection connection)
           
 java.lang.Object GenericDao.read(java.lang.Object objectMappingKey, java.sql.PreparedStatement statement)
           
protected  java.lang.Object AbstractDao.read(java.lang.Object objectMappingKey, java.sql.PreparedStatement statement)
          Reads a single object from the database using the given PreparedStatement instance, and the object mapping stored by the given object mapping key.
 java.lang.Object GenericDao.read(java.lang.Object objectMappingKey, java.sql.ResultSet result)
           
protected  java.lang.Object AbstractDao.read(java.lang.Object objectMappingKey, java.sql.ResultSet result)
          Reads a single object from the given ResultSet using the object mapping stored by the given object mapping key.
 java.lang.Object GenericDao.read(java.lang.Object objectMappingKey, java.sql.Statement statement, java.lang.String sql)
           
protected  java.lang.Object AbstractDao.read(java.lang.Object objectMappingKey, java.sql.Statement statement, java.lang.String sql)
          Reads a single object from the database using the given Statement instance, the given SQL string, and the object mapping stored by the given object mapping key.
 java.lang.Object GenericDao.read(java.lang.Object objectMappingKey, java.lang.String sql)
           
protected  java.lang.Object AbstractDao.read(java.lang.Object objectMappingKey, java.lang.String sql)
          Reads a single object from the database using the object mapping stored by the given object mapping key, and the given SQL string.
 java.lang.Object GenericDao.read(java.lang.Object objectMappingKey, java.lang.String sql, java.util.Collection parameters)
           
protected  java.lang.Object AbstractDao.read(java.lang.Object objectMappingKey, java.lang.String sql, java.sql.Connection connection)
          Reads a single object from the database using the object mapping stored by the given object mapping key, and the given SQL string.
 java.lang.Object GenericDao.read(java.lang.Object objectMappingKey, java.lang.String sql, java.lang.Object[] parameters)
           
 java.lang.Object JdbcDao.read(java.lang.String sql, IPreparedStatementManager statementManager, IResultSetProcessor processor)
           
 java.lang.Object JdbcDao.read(java.lang.String sql, IResultSetProcessor processor)
           
 java.lang.Object JdbcDao.read(java.lang.String sql, java.lang.Object[] parameters, IResultSetProcessor processor)
           
 java.lang.Object ObjectReader.readByPrimaryKey(IObjectMapping mapping, IKeyValue primaryKey, java.lang.Object persistentObject, java.lang.String sql, java.sql.Connection connection)
           
 java.lang.Object ObjectReader.readByPrimaryKey(IObjectMapping mapping, IKeyValue primaryKey, java.lang.String sql, java.sql.Connection connection)
           
 java.lang.Object ObjectReader.readByPrimaryKey(IObjectMapping mapping, java.lang.Object primaryKey, java.lang.String sql, java.sql.Connection connection)
           
 java.lang.Object GenericDao.readByPrimaryKey(java.lang.Object objectMappingKey, java.lang.Object primaryKey)
           
protected  java.lang.Object AbstractDao.readByPrimaryKey(java.lang.Object objectMappingKey, java.lang.Object primaryKey)
          Reads a single object from the database using the object mapping stored by the given object mapping key, and the given primary key to identify the record in the database that coresponds to the object to be read.
protected  java.lang.Object AbstractDao.readByPrimaryKey(java.lang.Object objectMappingKey, java.lang.Object primaryKey, java.sql.Connection connection)
          Reads a single object from the database using the object mapping stored by the given object mapping key, and the given primary key to identify the record in the database that coresponds to the object to be read.
 java.lang.String JdbcDao.readIdString(java.lang.String sql)
           
 java.lang.String JdbcDao.readIdString(java.lang.String sql, IPreparedStatementManager manager)
           
 java.lang.String JdbcDao.readIdString(java.lang.String sql, java.lang.Object[] parameters)
           
 java.util.List ObjectReader.readList(IObjectMapping mapping, java.sql.PreparedStatement preparedStatement)
           
 java.util.List ObjectReader.readList(IObjectMapping mapping, java.sql.PreparedStatement preparedStatement, IReadFilter filter)
           
 java.util.List ObjectReader.readList(IObjectMapping mapping, java.sql.PreparedStatement preparedStatement, IReadFilter filter, java.util.Collection persistentObjects)
           
 java.util.List ObjectReader.readList(IObjectMapping mapping, java.sql.ResultSet result)
          LIST READ METHODS BELOW
 java.util.List ObjectReader.readList(IObjectMapping mapping, java.sql.ResultSet result, IReadFilter filter)
          FILTERED READ LIST METHODS BELOW
 java.util.List ObjectReader.readList(IObjectMapping mapping, java.sql.ResultSet result, IReadFilter filter, java.util.Collection persistentObjects)
           
 java.util.List ObjectReader.readList(IObjectMapping mapping, java.sql.ResultSet result, IReadFilter filter, java.util.Map persistentObjects)
           
 java.util.List ObjectReader.readList(IObjectMapping mapping, java.sql.Statement statement, java.lang.String sql)
           
 java.util.List ObjectReader.readList(IObjectMapping mapping, java.sql.Statement statement, java.lang.String sql, IReadFilter filter)
           
 java.util.List ObjectReader.readList(IObjectMapping mapping, java.lang.String sql, java.util.Collection parameters, java.sql.Connection connection)
           
 java.util.List ObjectReader.readList(IObjectMapping mapping, java.lang.String sql, java.util.Collection parameters, java.sql.Connection connection, IReadFilter filter)
           
 java.util.List ObjectReader.readList(IObjectMapping mapping, java.lang.String sql, java.sql.Connection connection)
           
 java.util.List ObjectReader.readList(IObjectMapping mapping, java.lang.String sql, java.sql.Connection connection, IReadFilter filter)
           
 java.util.List ObjectReader.readList(IObjectMapping mapping, java.lang.String sql, java.lang.Object[] parameters, java.sql.Connection connection)
           
 java.util.List ObjectReader.readList(IObjectMapping mapping, java.lang.String sql, java.lang.Object[] parameters, java.sql.Connection connection, IReadFilter filter)
           
 java.util.List GenericDao.readList(java.lang.Object objectMappingKey, java.sql.PreparedStatement statement)
           
protected  java.util.List AbstractDao.readList(java.lang.Object objectMappingKey, java.sql.PreparedStatement statement)
          Reads a list of objects using the object mapping stored or generated by the given object mapping key and PreparedStatement instance.
 java.util.List GenericDao.readList(java.lang.Object objectMappingKey, java.sql.PreparedStatement statement, IReadFilter filter)
           
protected  java.util.List AbstractDao.readList(java.lang.Object objectMappingKey, java.sql.PreparedStatement statement, IReadFilter filter)
          Reads a list of objects using the object mapping stored or generated by the given object mapping key and PreparedStatement instance.
 java.util.List GenericDao.readList(java.lang.Object objectMappingKey, java.sql.ResultSet result)
           
protected  java.util.List AbstractDao.readList(java.lang.Object objectMappingKey, java.sql.ResultSet result)
          Reads a list of objects from the given ResultSet using the object mapping stored or generated by the given object mapping key.
 java.util.List GenericDao.readList(java.lang.Object objectMappingKey, java.sql.ResultSet result, IReadFilter filter)
           
protected  java.util.List AbstractDao.readList(java.lang.Object objectMappingKey, java.sql.ResultSet result, IReadFilter filter)
          Reads a list of objects from the given ResultSet using the object mapping stored or generated by the given object mapping key.
 java.util.List GenericDao.readList(java.lang.Object objectMappingKey, java.sql.Statement statement, java.lang.String sql)
           
protected  java.util.List AbstractDao.readList(java.lang.Object objectMappingKey, java.sql.Statement statement, java.lang.String sql)
          Reads a list of objects from the database using the given Statement instance, the given SQL string and the object mapping stored or generated by the given object mapping key.
 java.util.List GenericDao.readList(java.lang.Object objectMappingKey, java.sql.Statement statement, java.lang.String sql, IReadFilter filter)
           
protected  java.util.List AbstractDao.readList(java.lang.Object objectMappingKey, java.sql.Statement statement, java.lang.String sql, IReadFilter filter)
          Reads a list of objects from the database using the given Statement instance, the given SQL string and the object mapping stored or generated by the given object mapping key.
 java.util.List GenericDao.readList(java.lang.Object objectMappingKey, java.lang.String sql)
           
protected  java.util.List AbstractDao.readList(java.lang.Object objectMappingKey, java.lang.String sql)
          Reads a list of objects from the database using the object mapping stored or generated by the given object mapping key, and the given SQL string.
 java.util.List GenericDao.readList(java.lang.Object objectMappingKey, java.lang.String sql, java.util.Collection parameters)
           
 java.util.List GenericDao.readList(java.lang.Object objectMappingKey, java.lang.String sql, java.util.Collection parameters, IReadFilter filter)
           
protected  java.util.List AbstractDao.readList(java.lang.Object objectMappingKey, java.lang.String sql, java.sql.Connection connection)
          Reads a list of objects from the database using the object mapping stored or generated by the given object mapping key, and the given SQL string.
protected  java.util.List AbstractDao.readList(java.lang.Object objectMappingKey, java.lang.String sql, java.sql.Connection connection, IReadFilter filter)
          Reads a list of objects from the database using the object mapping stored or generated by the given object mapping key, and the given SQL string.
 java.util.List GenericDao.readList(java.lang.Object objectMappingKey, java.lang.String sql, IReadFilter filter)
           
protected  java.util.List AbstractDao.readList(java.lang.Object objectMappingKey, java.lang.String sql, IReadFilter filter)
          Reads a list of objects from the database using the object mapping stored or generated by the given object mapping key, and the given SQL string.
 java.util.List GenericDao.readList(java.lang.Object objectMappingKey, java.lang.String sql, java.lang.Object[] parameters)
           
 java.util.List GenericDao.readList(java.lang.Object objectMappingKey, java.lang.String sql, java.lang.Object[] parameters, IReadFilter filter)
           
 java.util.List ObjectReader.readListByPrimaryKeys(IObjectMapping mapping, java.util.Collection primaryKeys, java.lang.String sql, java.sql.Connection connection)
           
 java.util.List ObjectReader.readListByPrimaryKeys(IObjectMapping mapping, java.util.Collection primaryKeys, java.lang.String sql, java.sql.Connection connection, IReadFilter filter)
           
 java.util.List GenericDao.readListByPrimaryKeys(java.lang.Object objectMappingKey, java.util.Collection primaryKeys)
           
protected  java.util.List AbstractDao.readListByPrimaryKeys(java.lang.Object objectMappingKey, java.util.Collection primaryKeys)
          Reads a list of objects from the database using the object mapping stored by the given object mapping key, and the given primary keys to identify the records in the database that coresponds to the objects to be read.
protected  java.util.List AbstractDao.readListByPrimaryKeys(java.lang.Object objectMappingKey, java.util.Collection primaryKeys, java.sql.Connection connection)
          Reads a list of objects from the database using the object mapping stored by the given object mapping key, and the given primary keys to identify the records in the database that coresponds to the objects to be read.
 java.lang.Long JdbcDao.readLong(java.lang.String sql)
           
 java.lang.Long JdbcDao.readLong(java.lang.String sql, java.lang.Object[] parameters)
           
 java.util.Map MapDao.readMap(java.lang.String sql)
           
 java.util.Map MapDao.readMap(java.lang.String sql, IPreparedStatementManager statementManager)
           
 java.util.Map MapDao.readMap(java.lang.String sql, java.lang.Object[] parameters)
           
 java.util.List MapDao.readMapList(java.lang.String sql)
           
 java.util.List MapDao.readMapList(java.lang.String sql, IPreparedStatementManager statementManager)
           
 java.util.List MapDao.readMapList(java.lang.String sql, java.lang.Object[] parameters)
           
 void GenericDao.rollback()
           
 void GenericDao.setAutoCommit(boolean autoCommit)
           
 UpdateResult ObjectWriter.update(IObjectMapping mapping, java.lang.Object object, java.lang.Object oldPrimaryKeyValue, java.lang.String sql, java.sql.Connection connection)
           
 UpdateResult ObjectWriter.update(IObjectMapping mapping, java.lang.Object object, java.lang.String sql, java.sql.Connection connection)
           
 int GenericDao.update(java.lang.Object object)
           
protected  int AbstractDao.update(java.lang.Object object)
          Same as update(Object objectMappingKey, Object object) but uses the object.getClass() as the object mapping key.
protected  int AbstractDao.update(java.lang.Object object, java.sql.Connection connection)
          Same as update(Object objectMappingKey, Object object, Connection connection) but uses the object.getClass() as the object mapping key.
 int GenericDao.update(java.lang.Object objectMappingKey, java.lang.Object object)
           
protected  int AbstractDao.update(java.lang.Object objectMappingKey, java.lang.Object object)
          Updates the record in the database coresponding to the given object, with the values contained in this object, according to the object mapping stored or generated by the given object mapping key.
protected  int AbstractDao.update(java.lang.Object objectMappingKey, java.lang.Object object, java.sql.Connection connection)
          Updates the record in the database coresponding to the given object, with the values contained in this object, according to the object mapping stored or generated by the given object mapping key.
protected  int AbstractDao.update(java.lang.Object objectMappingKey, java.lang.Object object, java.lang.Object oldPrimaryKeyValue)
          Deprecated. Use the updateByPrimaryKey instead(). Renamed to avoid naming conflict.
protected  int AbstractDao.update(java.lang.Object objectMappingKey, java.lang.Object object, java.lang.Object oldPrimaryKeyValue, java.sql.Connection connection)
          Deprecated. Use the updateByPrimaryKey method instead. Renamed to avoid naming conflict.
 int JdbcDao.update(java.lang.String sql)
           
 int JdbcDao.update(java.lang.String sql, IPreparedStatementManager statementManager)
           
 int JdbcDao.update(java.lang.String sql, java.lang.Object[] parameters)
           
 int[] GenericDao.updateBatch(java.util.Collection objects)
           
protected  int[] AbstractDao.updateBatch(java.util.Collection objects)
          Same as updateBatch(Object objectMappingKey, Collection objects) the class returned by the getClass() of the first element in the collection as the object mapping key.
protected  int[] AbstractDao.updateBatch(java.util.Collection objects, java.sql.Connection connection)
          Same as updateBatch(Object objectMappingKey, Collection objects, Connection connection) the class returned by the getClass() of the first element in the collection as the object mapping key.
 UpdateResult ObjectWriter.updateBatch(IObjectMapping mapping, java.util.Collection objects, java.util.Collection oldPrimaryKeys, java.lang.String sql, java.sql.Connection connection)
           
 UpdateResult ObjectWriter.updateBatch(IObjectMapping mapping, java.util.Collection objects, java.lang.String sql, java.sql.Connection connection)
           
 int[] GenericDao.updateBatch(java.lang.Object objectMappingKey, java.util.Collection objects)
           
protected  int[] AbstractDao.updateBatch(java.lang.Object objectMappingKey, java.util.Collection objects)
          Updates the records in the database coresponding to the given collection of objects, with the values contained in these objects, according to the object mapping stored or generated by the given object mapping key.
protected  int[] AbstractDao.updateBatch(java.lang.Object objectMappingKey, java.util.Collection objects, java.util.Collection oldPrimaryKeys)
          Deprecated. Use the updateBatchByPrimaryKeys instead. Renamed to avoid naming conflict.
protected  int[] AbstractDao.updateBatch(java.lang.Object objectMappingKey, java.util.Collection objects, java.util.Collection oldPrimaryKeys, java.sql.Connection connection)
          Deprecated. Use the updateBatchByPrimaryKeys instead. Renamed to avoid naming conflict.
protected  int[] AbstractDao.updateBatch(java.lang.Object objectMappingKey, java.util.Collection objects, java.sql.Connection connection)
          Updates the records in the database coresponding to the given collection of objects, with the values contained in these objects, according to the object mapping stored or generated by the given object mapping key.
 int[] GenericDao.updateBatchByPrimaryKeys(java.util.Collection objects, java.util.Collection oldPrimaryKeys)
           
protected  int[] AbstractDao.updateBatchByPrimaryKeys(java.util.Collection objects, java.util.Collection oldPrimaryKeys)
          Same as updateBatchByPrimaryKeys(Object objectMappingKey, Collection objects, Collection oldPrimaryKeys) the class returned by the getClass() of the first element in the collection as the object mapping key.
protected  int[] AbstractDao.updateBatchByPrimaryKeys(java.util.Collection objects, java.util.Collection oldPrimaryKeys, java.sql.Connection connection)
          Same as updateBatchByPrimaryKeys(Object objectMappingKey, Collection objects, Collection oldPrimaryKeys, Connection connection) but uses the class returned by the getClass() method of the first object in the collection as the object mapping key.
 int[] GenericDao.updateBatchByPrimaryKeys(java.lang.Object objectMappingKey, java.util.Collection objects, java.util.Collection oldPrimaryKeys)
           
protected  int[] AbstractDao.updateBatchByPrimaryKeys(java.lang.Object objectMappingKey, java.util.Collection objects, java.util.Collection oldPrimaryKeys)
          Updates the records in the database coresponding to the given collection of objects, with the values contained in these objects, according to the object mapping stored or generated by the given object mapping key.
protected  int[] AbstractDao.updateBatchByPrimaryKeys(java.lang.Object objectMappingKey, java.util.Collection objects, java.util.Collection oldPrimaryKeys, java.sql.Connection connection)
          Updates the records in the database coresponding to the given collection of objects, with the values contained in these objects, according to the object mapping stored or generated by the given object mapping key.
 int GenericDao.updateByPrimaryKey(java.lang.Object object, java.lang.Object oldPrimaryKeyValue)
           
protected  int AbstractDao.updateByPrimaryKey(java.lang.Object object, java.lang.Object oldPrimaryKeyValue)
          Same as updateByPrimaryKey(Object objectMappingKey, Object object, Object oldPrimaryKeyValue) but uses the object.getClass() as the object mapping key.
protected  int AbstractDao.updateByPrimaryKey(java.lang.Object object, java.lang.Object oldPrimaryKeyValue, java.sql.Connection connection)
          Same as updateByPrimaryKey(Object objectMappingKey, Object object, Object oldPrimaryKeyValue, Connection connection) but uses the object.getClass() as the object mapping key.
 int GenericDao.updateByPrimaryKey(java.lang.Object objectMappingKey, java.lang.Object object, java.lang.Object oldPrimaryKeyValue)
           
protected  int AbstractDao.updateByPrimaryKey(java.lang.Object objectMappingKey, java.lang.Object object, java.lang.Object oldPrimaryKeyValue)
          Updates the record in the database coresponding to the given object, with the values contained in this object, according to the object mapping stored or generated by the given object mapping key.
protected  int AbstractDao.updateByPrimaryKey(java.lang.Object objectMappingKey, java.lang.Object object, java.lang.Object oldPrimaryKeyValue, java.sql.Connection connection)
          Updates the record in the database coresponding to the given object, with the values contained in this object, according to the object mapping stored or generated by the given object mapping key.
 UpdateResult ObjectWriter.updateOptimistic(IObjectMapping mapping, java.lang.Object object, java.lang.Object original, java.lang.String sql, java.sql.Connection connection)
           
 int GenericDao.updateOptimistic(java.lang.Object object, java.lang.Object original)
           
 int GenericDao.updateOptimistic(java.lang.Object objectMappingKey, java.lang.Object object, java.lang.Object original)
           
protected  void SqlGenerator.validateObjectMapping(IObjectMapping mapping)
           
protected  void SqlGenerator.validatePrimaryKey(IObjectMapping mapping)
           
 

Uses of PersistenceException in com.jenkov.mrpersister.impl.command
 

Methods in com.jenkov.mrpersister.impl.command that throw PersistenceException
 IDaos DaosFactory.createDaos()
           
 IDaos DataSourceDaosFactoryStrategy.createDaos(IDaosFactory daosFactory, java.lang.Object configKey, java.sql.Connection connection)
           
 IDaos ConnectionDaosFactoryStrategy.createDaos(IDaosFactory daosFactory, java.lang.Object configKey, java.sql.Connection connection)
           
 IDaos DaosFactory.createDaos(IPersistenceConfiguration configuration)
           
 IDaos DaosFactory.createDaos(java.lang.Object configKey)
           
 java.lang.Object DaoCommandExecutor.execute(IDaoCommand command)
           
 java.lang.Object DaoCommandExecutor.execute(IDaoCommand command, java.sql.Connection connection)
           
 java.lang.Object DaoCommandExecutor.execute(java.lang.Object configKey, IDaoCommand command)
           
 java.lang.Object DaoCommandExecutor.execute(java.lang.Object configKey, IDaoCommand command, java.sql.Connection connection)
           
protected  java.lang.Object DaoCommandExecutor.execute(java.lang.Object configKey, IDaoCommand command, java.sql.Connection connection, IDaosFactoryStrategy daosFactoryStrategy)
           
 java.lang.Object DaoCommandExecutor.executeTransaction(IDaoCommand command)
           
 java.lang.Object DaoCommandExecutor.executeTransaction(IDaoCommand command, java.sql.Connection connection)
           
 java.lang.Object DaoCommandExecutor.executeTransaction(java.lang.Object configKey, IDaoCommand command)
           
 java.lang.Object DaoCommandExecutor.executeTransaction(java.lang.Object configKey, IDaoCommand command, java.sql.Connection connection)
           
protected  java.lang.Object DaoCommandExecutor.executeTransaction(java.lang.Object configKey, IDaoCommand command, java.sql.Connection connection, IDaosFactoryStrategy daosFactoryStrategy)
           
 

Uses of PersistenceException in com.jenkov.mrpersister.impl.filter
 

Methods in com.jenkov.mrpersister.impl.filter that throw PersistenceException
 boolean PageReadFilter.accept(java.sql.ResultSet result)
           
 boolean AcceptAllReadFilter.accept(java.sql.ResultSet result)
           
 void PageReadFilter.init(java.sql.ResultSet result)
           
 void AcceptAllReadFilter.init(java.sql.ResultSet result)
           
 

Uses of PersistenceException in com.jenkov.mrpersister.impl.mapping
 

Methods in com.jenkov.mrpersister.impl.mapping that throw PersistenceException
 void ObjectMapping.addGetterMapping(IGetterMapping mapping)
           
 void ObjectMappingFactory.addGetterMapping(IObjectMapping mapping, java.lang.String methodName, java.lang.String columnName, boolean isTableMapped)
           
 void ObjectMappingFactory.addGetterMapping(IObjectMapping mapping, java.lang.String methodName, java.lang.String columnName, boolean isTableMapped, boolean isPrimaryKey, boolean isAutoGenerated)
           
 void ObjectMappingFactory.addSetterMapping(IObjectMapping mapping, java.lang.String methodName, java.lang.Class parameterType, java.lang.String columnName, boolean isTableMapped)
           
 void ObjectMappingFactory.addSetterMapping(IObjectMapping mapping, java.lang.String methodName, java.lang.Class parameterType, java.lang.String columnName, boolean isTableMapped, boolean isPrimaryKey)
           
 void ObjectMappingFactory.addSetterMapping(IObjectMapping mapping, java.lang.String methodName, java.lang.String columnName, boolean isTableMapped)
           
 void ObjectMappingFactory.addSetterMapping(IObjectMapping mapping, java.lang.String methodName, java.lang.String columnName, boolean isTableMapped, boolean isPrimaryKey)
           
 void ObjectMapping.addSetterMapping(ISetterMapping mapping)
           
protected  void ObjectMappingFactory.assureObjectClass(IObjectMapping mapping)
           
 IGetterMapping ObjectMappingFactory.createGetterMapping(java.lang.Class theClass, java.lang.String methodName, java.lang.String columnName)
           
 IGetterMapping ObjectMappingFactory.createGetterMapping(java.lang.Class theClass, java.lang.String methodName, java.lang.String columnName, boolean isTableMapped)
           
protected  IObjectMapping ObjectMapper.createObjectMapping(java.lang.Class theClass, java.lang.String tableName, java.sql.Connection connection)
           
 ISetterMapping ObjectMappingFactory.createSetterMapping(java.lang.Class theClass, java.lang.String methodName, java.lang.Class parameterType, java.lang.String columnName)
           
 ISetterMapping ObjectMappingFactory.createSetterMapping(java.lang.Class theClass, java.lang.String methodName, java.lang.Class parameterType, java.lang.String columnName, boolean isTableMapped)
           
 java.lang.String DbNameDeterminerOld.determineColumnName(java.util.Collection names, java.lang.String tableName, java.sql.Connection connection)
           
 java.lang.String DbNameDeterminer.determineColumnName(java.util.Collection names, java.lang.String tableName, java.sql.Connection connection)
           
 java.lang.String DbNameDeterminerOld.determineTableName(java.util.Collection names, java.sql.Connection connection)
           
 java.lang.String DbNameDeterminer.determineTableName(java.util.Collection names, java.sql.Connection connection)
           
 java.lang.String DbNameDeterminerOld.determineTableName(java.util.Collection names, java.lang.String databaseName, java.sql.Connection connection)
           
 java.lang.String DbNameDeterminer.determineTableName(java.util.Collection names, java.lang.String databaseName, java.sql.Connection connection)
           
 java.lang.String Key.getColumn()
           
 IObjectMapping CustomObjectMapperBase.getObjectMapping(java.lang.Object objectMappingKey)
           
 IObjectMapping ObjectMapper.getObjectMapping(java.lang.Object objectMappingKey, IPersistenceConfiguration configuration, java.sql.Connection connection)
           
 java.lang.String HsqldbPrimaryKeyDeterminer.getPrimaryKeyColumnName(java.lang.String table, java.lang.String databaseName, java.sql.Connection connection)
           
 java.lang.String DbPrimaryKeyDeterminer.getPrimaryKeyColumnName(java.lang.String table, java.lang.String databaseName, java.sql.Connection connection)
          Deprecated. This method doesn't support compound keys (multi-column keys). Use the getPrimaryKeyMapping method instead.
 IKey HsqldbPrimaryKeyDeterminer.getPrimaryKeyMapping(java.lang.String table, java.lang.String databaseName, java.sql.Connection connection)
           
 IKey DbPrimaryKeyDeterminer.getPrimaryKeyMapping(java.lang.String table, java.lang.String databaseName, java.sql.Connection connection)
           
 IKeyValue ObjectMapping.getPrimaryKeyValueForObject(java.lang.Object object, IKeyValue keyValue)
           
 IKeyValue ObjectMapping.getPrimaryKeyValueForRecord(java.sql.ResultSet result, IKeyValue keyValue)
           
 java.lang.String CustomObjectMapperBase.getTableName(java.lang.Object objectMappingKey)
           
 IObjectMapping ObjectMapper.mapGettersToTable(java.lang.Class objectClass, IObjectMapping objectMapping, java.sql.Connection connection, java.lang.String databaseName, java.lang.String table)
           
 IObjectMapping ObjectMapper.mapSettersToSelf(java.lang.Class persistentObjectClass, IObjectMapping objectMapping)
           
 IObjectMapping ObjectMapper.mapSettersToTable(java.lang.Class objectClass, IObjectMapping objectMapping, java.sql.Connection connection, java.lang.String databaseName, java.lang.String table)
           
 IObjectMapping ObjectMapper.mapToTable(java.lang.Class objectClass, IObjectMapping objectMapping, java.sql.Connection connection, java.lang.String databaseName, java.lang.String table)
           
 void CustomObjectMapperBase.modify(java.lang.Object objectMappingKey, IObjectMapping mapping)
           
 void AutoGeneratedColumnsMapper.modify(java.lang.Object objectMappingKey, IObjectMapping mapping)
           
 IKeyValue Key.toKeyValue(java.lang.Object keyValueObject)
           
protected  void ObjectMapping.validateMethodMapping(IMethodMapping mapping)
           
 

Uses of PersistenceException in com.jenkov.mrpersister.impl.mapping.method
 

Methods in com.jenkov.mrpersister.impl.mapping.method that throw PersistenceException
 java.lang.Object SetterMapping.getValueFromResultSet(java.sql.ResultSet result)
           
 void GetterMapping.insertObject(java.lang.Object value, java.sql.PreparedStatement statement, int index)
           
 void GetterMapping.insertValueFromObject(java.lang.Object target, java.sql.PreparedStatement statement, int index)
           
 void SetterMapping.insertValueIntoObject(java.lang.Object target, java.sql.ResultSet result)
           
 

Uses of PersistenceException in com.jenkov.mrpersister.itf
 

Methods in com.jenkov.mrpersister.itf that return PersistenceException
 PersistenceException PersistenceExceptionUnchecked.getPersistenceException()
          Returns the wrapped PersistenceException if any.
 

Methods in com.jenkov.mrpersister.itf that throw PersistenceException
 boolean IReadFilter.accept(java.sql.ResultSet result)
          Returns true if the filter can accept the record at the current position of the result set as part of the objects read.
 void IGenericDao.closeConnection()
          Closes the connection used by this GenericDao instance.
 void IGenericDao.commit()
          Call commit() on the underlying connection.
 UpdateResult IObjectWriter.delete(IObjectMapping mapping, java.lang.Object object, java.lang.String sql, java.sql.Connection connection)
          Deletes the record in the database coresponding to the given object.
 int IGenericDao.delete(java.lang.Object object)
          Same as delete(Object objectMappingKey, Object object) but uses the object.getClass() as the object mapping key.
 int IGenericDao.delete(java.lang.Object objectMappingKey, java.lang.Object object)
          Deletes the record from the database coresponding to the given object, according to the object mapping stored or generated by the given object mapping key.
 int[] IGenericDao.deleteBatch(java.util.Collection objects)
          Same as deleteBatch(Object objectMappingKey, Collection objects) but uses the class returned by the getClass() method of the first object in the collection, as returned by the collection iterator, as the object mapping key.
 UpdateResult IObjectWriter.deleteBatch(IObjectMapping mapping, java.util.Collection objects, java.lang.String sql, java.sql.Connection connection)
          Deletes the records in the database coresponding to the given objects.
 int[] IGenericDao.deleteBatch(java.lang.Object objectMappingKey, java.util.Collection objects)
          Deletes the records from the database coresponding to the given objects, according to the object mapping stored or generated by the given object mapping key.
 int[] IGenericDao.deleteBatchByPrimaryKeys(java.lang.Object objectMappingKey, java.util.Collection primaryKeys)
          Deletes the records from the database coresponding to the given primary keys, according to the object mapping stored or generated by the given object mapping key.
 UpdateResult IObjectWriter.deleteByPrimaryKey(IObjectMapping mapping, java.lang.Object primaryKey, java.lang.String sql, java.sql.Connection connection)
          Deletes the record matching the given primary key, from the table referenced in the object mapping.
 int IGenericDao.deleteByPrimaryKey(java.lang.Object objectMappingKey, java.lang.Object primaryKey)
          Deletes the record from the database matching the given primary key, according to the object mapping stored or generated by the given object mapping key.
 UpdateResult IObjectWriter.deleteByPrimaryKeysBatch(IObjectMapping mapping, java.util.Collection primaryKeys, java.lang.String sql, java.sql.Connection connection)
          Deletes the records in the database coresponding to the given primary keys.
 java.lang.Object IGenericDaoTransaction.execute(IGenericDao dao)
          Executes this dao transaction.
 java.lang.Object IGenericDaoCommand.execute(IGenericDao dao)
          Executes this dao command.
 java.lang.Object IPreparedStatementManager.execute(java.sql.PreparedStatement statement)
          Executes the PreparedStatement.
 int IGenericDao.executeUpdate(java.lang.String sql)
          Executes the given SQL update.
 int IGenericDao.executeUpdate(java.lang.String sql, java.util.Collection parameters)
          Executes the given SQL update.
 int IGenericDao.executeUpdate(java.lang.String sql, java.lang.Object[] parameters)
          Executes the given SQL update.
 java.lang.String ISqlGenerator.generateDeleteStatement(IObjectMapping mapping)
          Generates a delete SQL string based on the given object mapping.
 java.lang.String ISqlGenerator.generateInsertStatement(IObjectMapping mapping)
          Generates an insert SQL string based on the given object mapping.
 java.lang.String ISqlGenerator.generateReadByPrimaryKeyStatement(IObjectMapping mapping)
          Generates a read-by-primary-key SQL string based on the given object mapping.
 java.lang.String ISqlGenerator.generateReadListByPrimaryKeysStatement(IObjectMapping mapping, int primaryKeyCount)
          Generates a read-by-primary-keys SQL string based on the given object mapping.
 java.lang.String ISqlGenerator.generateUpdateOptimisticStatement(IObjectMapping mapping)
          Generates an update SQL string based on the given object mapping with optimistic locking.
 java.lang.String ISqlGenerator.generateUpdateStatement(IObjectMapping mapping)
          Generates an updateBatch SQL string based on the given object mapping.
 java.lang.Object IResultSetProcessor.getResult()
          Returns the result of the total processing.
 void IPreparedStatementManager.init(java.sql.PreparedStatement statement)
          Initializes the PreparedStatement.
 void IResultSetProcessor.init(java.sql.ResultSet result)
          Initializes the ResultSet.
 void IReadFilter.init(java.sql.ResultSet result)
          Called by the object reader before reading starts taking place.
 UpdateResult IObjectWriter.insert(IObjectMapping mapping, java.lang.Object object, java.lang.String sql, java.sql.Connection connection)
          Inserts the given object into the table it is mapped to in the given object mapping.
 int IGenericDao.insert(java.lang.Object object)
          Same as insert(Object objectMappingKey, Object object), but uses object.getClass() as the object mapping key.
 int IGenericDao.insert(java.lang.Object objectMappingKey, java.lang.Object object)
          Inserts a record in the database with the values from the given object according to the object mapping stored or generated by the given object mapping key.
 int[] IGenericDao.insertBatch(java.util.Collection objects)
          Same as insertBatch(Object objectMappingKey, Collection objects) but uses the class returned by the getClass() of the first element in the collection as the object mapping key.
 UpdateResult IObjectWriter.insertBatch(IObjectMapping mapping, java.util.Collection objects, java.lang.String sql, java.sql.Connection connection)
          Inserts the objects in the objects collection into the table they are mapped to, in the given object mapping.
 int[] IGenericDao.insertBatch(java.lang.Object objectMappingKey, java.util.Collection objects)
          Inserts several records into the database with the values from the given objects according to the object mapping stored or generated by the given object mapping key.
 void IPreparedStatementManager.postProcess(java.sql.PreparedStatement statement)
          Post processes the PreparedStatement after execution.
 java.sql.PreparedStatement IPreparedStatementManager.prepare(java.lang.String sql, java.sql.Connection connection)
          Returns a PreparedStatement prepared from the SQL and the connection.
 void IResultSetProcessor.process(java.sql.ResultSet result, IDaos daos)
          Processes a record in the ResultSet.
 java.lang.Object IObjectReader.read(IObjectMapping mapping, java.sql.PreparedStatement preparedStatement)
          Reads an object from the database using the given object mapping and PreparedStatement.
 java.lang.Object IObjectReader.read(IObjectMapping mapping, java.sql.ResultSet result)
          Reads an object from the given ResultSet using the given object mapping.
 java.lang.Object IObjectReader.read(IObjectMapping mapping, java.sql.Statement statement, java.lang.String sql)
          Reads an object using the provided object mapping, SQL and Statement instance.
 java.lang.Object IObjectReader.read(IObjectMapping mapping, java.lang.String sql, java.util.Collection parameters, java.sql.Connection connection)
          Reads an object from the database using the given object mapping, SQL string, and parameters.
 java.lang.Object IObjectReader.read(IObjectMapping mapping, java.lang.String sql, java.sql.Connection connection)
          Reads an object using the given object mappping, SQL, and the Connection instance.
 java.lang.Object IObjectReader.read(IObjectMapping mapping, java.lang.String sql, java.lang.Object[] parameters, java.sql.Connection connection)
          Reads an object from the database using the given object mapping, SQL string, and parameters.
 java.lang.Object IGenericDao.read(java.lang.Object objectMappingKey, java.sql.PreparedStatement statement)
          Reads a single object from the database using the given PreparedStatement instance, and the object mapping stored by the given object mapping key.
 java.lang.Object IGenericDao.read(java.lang.Object objectMappingKey, java.sql.ResultSet result)
          Reads a single object from the given ResultSet using the object mapping stored by the given object mapping key.
 java.lang.Object IGenericDao.read(java.lang.Object objectMappingKey, java.sql.Statement statement, java.lang.String sql)
          Reads a single object from the database using the given Statement instance, the given SQL string, and the object mapping stored by the given object mapping key.
 java.lang.Object IGenericDao.read(java.lang.Object objectMappingKey, java.lang.String sql)
          Reads a single object from the database using the object mapping stored by the given object mapping key, and the given SQL string.
 java.lang.Object IGenericDao.read(java.lang.Object objectMappingKey, java.lang.String sql, java.util.Collection parameters)
          Reads a single object from the database using the given SQL string, the parameters, and the object mapping stored by the given object mapping key.
 java.lang.Object IGenericDao.read(java.lang.Object objectMappingKey, java.lang.String sql, java.lang.Object[] parameters)
          Reads a single object from the database using the given SQL string, the parameters, and the object mapping stored by the given object mapping key.
 java.lang.Object IJdbcDao.read(java.lang.String sql, IPreparedStatementManager statementManager, IResultSetProcessor processor)
          Executes the given SQL and calls the IResultSetProcessor's process(...) method for each record in the ResultSet.
 java.lang.Object IJdbcDao.read(java.lang.String sql, IResultSetProcessor processor)
          Executes the given SQL and calls the IResultSetProcessor's process(...) method for each record in the ResultSet.
 java.lang.Object IJdbcDao.read(java.lang.String sql, java.lang.Object[] parameters, IResultSetProcessor processor)
          Executes the given SQL and calls the IResultSetProcessor's process(...) method for each record in the ResultSet.
 java.lang.Object IObjectReader.readByPrimaryKey(IObjectMapping mapping, IKeyValue primaryKey, java.lang.String sql, java.sql.Connection connection)
          Reads an object from the database using an object mapping, the primary key, an SQL string (explained below) and a database connection.
 java.lang.Object IObjectReader.readByPrimaryKey(IObjectMapping mapping, java.lang.Object primaryKey, java.lang.String sql, java.sql.Connection connection)
          Reads an object from the database using an object mapping, the primary key, an SQL string (explained below) and a database connection.
 java.lang.Object IGenericDao.readByPrimaryKey(java.lang.Object objectMappingKey, java.lang.Object primaryKey)
          Reads a single object from the database using the object mapping stored by the given object mapping key, and the given primary key to identify the record in the database that coresponds to the object to be read.
 java.lang.String IJdbcDao.readIdString(java.lang.String sql)
          Reads all the ids located by the given SQL into an id string that can be used in an SQL select ...
 java.lang.String IJdbcDao.readIdString(java.lang.String sql, IPreparedStatementManager statementManager)
          Reads all the ids located by the given SQL into an id string that can be used in an SQL select ...
 java.lang.String IJdbcDao.readIdString(java.lang.String sql, java.lang.Object[] parameters)
          Reads all the ids located by the given SQL into an id string that can be used in an SQL select ...
 java.util.List IObjectReader.readList(IObjectMapping mapping, java.sql.PreparedStatement preparedStatement)
          Reads a list of objects from the database using the given object mapping and PreparedStatement.
 java.util.List IObjectReader.readList(IObjectMapping mapping, java.sql.PreparedStatement preparedStatement, IReadFilter filter)
          Reads a list of objects from the database using the given object mapping and PreparedStatement.
 java.util.List IObjectReader.readList(IObjectMapping mapping, java.sql.ResultSet result)
          Reads a list of objects from the given ResultSet using the object mapping.
 java.util.List IObjectReader.readList(IObjectMapping mapping, java.sql.ResultSet result, IReadFilter filter)
          Reads a list of objects from the given ResultSet using the given object mapping and read filter.
 java.util.List IObjectReader.readList(IObjectMapping mapping, java.sql.Statement statement, java.lang.String sql)
          Reads a list of objects from the database using the given object mapping, Statement and SQL string.
 java.util.List IObjectReader.readList(IObjectMapping mapping, java.sql.Statement statement, java.lang.String sql, IReadFilter filter)
          Reads a list of objects from the database using the given object mapping, Statement and SQL string.
 java.util.List IObjectReader.readList(IObjectMapping mapping, java.lang.String sql, java.util.Collection parameters, java.sql.Connection connection)
          Reads a list of objects from the database using the given object mapping, SQL string, and parameters.
 java.util.List IObjectReader.readList(IObjectMapping mapping, java.lang.String sql, java.util.Collection parameters, java.sql.Connection connection, IReadFilter filter)
          Reads a list of objects from the database using the given object mapping, SQL string, and parameters.
 java.util.List IObjectReader.readList(IObjectMapping mapping, java.lang.String sql, java.sql.Connection connection)
          Reads a list of objects from the database using the given object mapping, SQL string, and Connection.
 java.util.List IObjectReader.readList(IObjectMapping mapping, java.lang.String sql, java.sql.Connection connection, IReadFilter filter)
          Reads a list of objects from the database using the given object mapping, SQL string, and Connection.
 java.util.List IObjectReader.readList(IObjectMapping mapping, java.lang.String sql, java.lang.Object[] parameters, java.sql.Connection connection)
          Reads a list of objects from the database using the given object mapping, SQL string, and parameters.
 java.util.List IObjectReader.readList(IObjectMapping mapping, java.lang.String sql, java.lang.Object[] parameters, java.sql.Connection connection, IReadFilter filter)
          Reads a list of objects from the database using the given object mapping, SQL string, and parameters.
 java.util.List IGenericDao.readList(java.lang.Object objectMappingKey, java.sql.PreparedStatement statement)
          Reads a list of objects using the object mapping stored or generated by the given object mapping key and PreparedStatement instance.
 java.util.List IGenericDao.readList(java.lang.Object objectMappingKey, java.sql.PreparedStatement statement, IReadFilter filter)
          Reads a list of objects using the object mapping stored or generated by the given object mapping key and PreparedStatement instance.
 java.util.List IGenericDao.readList(java.lang.Object objectMappingKey, java.sql.ResultSet result)
          Reads a list of objects from the given ResultSet using the object mapping stored or generated by the given object mapping key.
 java.util.List IGenericDao.readList(java.lang.Object objectMappingKey, java.sql.ResultSet result, IReadFilter filter)
          Reads a list of objects from the given ResultSet using the object mapping stored or generated by the given object mapping key.
 java.util.List IGenericDao.readList(java.lang.Object objectMappingKey, java.sql.Statement statement, java.lang.String sql)
          Reads a list of objects from the database using the given Statement instance, the given SQL string and the object mapping stored or generated by the given object mapping key.
 java.util.List IGenericDao.readList(java.lang.Object objectMappingKey, java.sql.Statement statement, java.lang.String sql, IReadFilter filter)
          Reads a list of objects from the database using the given Statement instance, the given SQL string and the object mapping stored or generated by the given object mapping key.
 java.util.List IGenericDao.readList(java.lang.Object objectMappingKey, java.lang.String sql)
          Reads a list of objects from the database using the object mapping stored or generated by the given object mapping key, and the given SQL string.
 java.util.List IGenericDao.readList(java.lang.Object objectMappingKey, java.lang.String sql, java.util.Collection parameters)
          Reads a list of objects using the object mapping stored or generated by the given object mapping key, and a PreparedStatement instance created from the sql parameter, and the parameter collection.
 java.util.List IGenericDao.readList(java.lang.Object objectMappingKey, java.lang.String sql, java.util.Collection parameters, IReadFilter filter)
          Reads a list of objects using the object mapping stored or generated by the given object mapping key, and a PreparedStatement instance created from the sql parameter, and the parameter array.
 java.util.List IGenericDao.readList(java.lang.Object objectMappingKey, java.lang.String sql, IReadFilter filter)
          Reads a list of objects from the database using the object mapping stored or generated by the given object mapping key, and the given SQL string.
 java.util.List IGenericDao.readList(java.lang.Object objectMappingKey, java.lang.String sql, java.lang.Object[] parameters)
          Reads a list of objects using the object mapping stored or generated by the given object mapping key, and a PreparedStatement instance created from the sql parameter, and the parameter array.
 java.util.List IGenericDao.readList(java.lang.Object objectMappingKey, java.lang.String sql, java.lang.Object[] parameters, IReadFilter filter)
          Reads a list of objects using the object mapping stored or generated by the given object mapping key, and a PreparedStatement instance created from the sql parameter, and the parameter array.
 java.util.List IObjectReader.readListByPrimaryKeys(IObjectMapping mapping, java.util.Collection primaryKeys, java.lang.String sql, java.sql.Connection connection)
          Reads a list of objects from the database using an object mapping, the primary keys of the objects to read, an SQL string (explained below) and a database connection.
 java.util.List IObjectReader.readListByPrimaryKeys(IObjectMapping mapping, java.util.Collection primaryKeys, java.lang.String sql, java.sql.Connection connection, IReadFilter filter)
          Reads a list of objects from the database using an object mapping, the primary keys of the objects to read, an SQL string (explained below) and a database connection.
 java.util.List IGenericDao.readListByPrimaryKeys(java.lang.Object objectMappingKey, java.util.Collection primaryKeys)
          Reads a list of objects from the database using the object mapping stored by the given object mapping key, and the given primary keys to identify the records in the database that coresponds to the objects to be read.
 java.lang.Long IJdbcDao.readLong(java.lang.String sql)
          Reads a long from the database using the given SQL query.
 java.lang.Long IJdbcDao.readLong(java.lang.String sql, java.lang.Object[] parameters)
          Reads a long from the database using the given SQL query.
 java.util.Map IMapDao.readMap(java.lang.String sql)
           
 java.util.Map IMapDao.readMap(java.lang.String sql, IPreparedStatementManager statementManager)
           
 java.util.Map IMapDao.readMap(java.lang.String sql, java.lang.Object[] parameters)
           
 java.util.List IMapDao.readMapList(java.lang.String sql)
           
 java.util.List IMapDao.readMapList(java.lang.String sql, IPreparedStatementManager statementManager)
           
 java.util.List IMapDao.readMapList(java.lang.String sql, java.lang.Object[] parameters)
           
 void IGenericDao.rollback()
          Calls rollback() on the underlying connection.
 void IGenericDao.setAutoCommit(boolean autoCommit)
          Calls setAutoCommit on the underlying connection.
 UpdateResult IObjectWriter.update(IObjectMapping mapping, java.lang.Object object, java.lang.Object oldPrimaryKeyValue, java.lang.String sql, java.sql.Connection connection)
          Updates the record in the database matching the value of the oldPrimaryKeyValue, with the values present in the object at the time of calling this method, according to the given object mapping.
 UpdateResult IObjectWriter.update(IObjectMapping mapping, java.lang.Object object, java.lang.String sql, java.sql.Connection connection)
          Updates the record in the database corresponding to the given object, with the values present in the object at the time of calling this method, according to the given object mapping.
 int IGenericDao.update(java.lang.Object object)
          Same as update(Object objectMappingKey, Object object) but uses the object.getClass() as the object mapping key.
 int IGenericDao.update(java.lang.Object objectMappingKey, java.lang.Object object)
          Updates the record in the database coresponding to the given object, with the values contained in this object, according to the object mapping stored or generated by the given object mapping key.
 int IJdbcDao.update(java.lang.String sql)
          Executes the given SQL as an update (PreparedStatement.executeUpdate()).
 int IJdbcDao.update(java.lang.String sql, IPreparedStatementManager statementManager)
          Executes the given SQL as an update (PreparedStatement.executeUpdate()).
 int IJdbcDao.update(java.lang.String sql, java.lang.Object[] parameters)
          Executes the given SQL as an update (PreparedStatement.executeUpdate()).
 int[] IGenericDao.updateBatch(java.util.Collection objects)
          Same as updateBatch(Object objectMappingKey, Collection objects) the class returned by the getClass() of the first element in the collection as the object mapping key.
 UpdateResult IObjectWriter.updateBatch(IObjectMapping mapping, java.util.Collection objects, java.util.Collection oldPrimaryKeys, java.lang.String sql, java.sql.Connection connection)
          Updates the records in the database corresponding to the objects contained in the collection passed in parameter objects.
 UpdateResult IObjectWriter.updateBatch(IObjectMapping mapping, java.util.Collection objects, java.lang.String sql, java.sql.Connection connection)
          Updates the records in the database corresponding to the objects contained in the collection passed in parameter objects.
 int[] IGenericDao.updateBatch(java.lang.Object objectMappingKey, java.util.Collection objects)
          Updates the records in the database coresponding to the given collection of objects, with the values contained in these objects, according to the object mapping stored or generated by the given object mapping key.
 int[] IGenericDao.updateBatchByPrimaryKeys(java.util.Collection objects, java.util.Collection oldPrimaryKeys)
          Same as updateBatchByPrimaryKeys(Object objectMappingKey, Collection objects, Collection oldPrimaryKeys) the class returned by the getClass() of the first element in the collection as the object mapping key.
 int[] IGenericDao.updateBatchByPrimaryKeys(java.lang.Object objectMappingKey, java.util.Collection objects, java.util.Collection oldPrimaryKeys)
          Updates the records in the database coresponding to the given collection of objects, with the values contained in these objects, according to the object mapping stored or generated by the given object mapping key.
 int IGenericDao.updateByPrimaryKey(java.lang.Object object, java.lang.Object oldPrimaryKeyValue)
          Same as updateByPrimaryKey(Object objectMappingKey, Object object, Object oldPrimaryKeyValue) but uses the object.getClass() as the object mapping key.
 int IGenericDao.updateByPrimaryKey(java.lang.Object objectMappingKey, java.lang.Object object, java.lang.Object oldPrimaryKeyValue)
          Updates the record in the database coresponding to the given object, with the values contained in this object, according to the object mapping stored or generated by the given object mapping key.
 UpdateResult IObjectWriter.updateOptimistic(IObjectMapping mapping, java.lang.Object object, java.lang.Object original, java.lang.String sql, java.sql.Connection connection)
          Updates the record in the database corresponding to the given object, with the values present in the object at the time of calling this method, according to the given object mapping.
 int IGenericDao.updateOptimistic(java.lang.Object object, java.lang.Object original)
          Same as updateOptimistic(Object objectMappingKey, Object object, Object original) but uses the object.getClass() as the object mapping key.
 int IGenericDao.updateOptimistic(java.lang.Object objectMappingKey, java.lang.Object object, java.lang.Object original)
          Updates the record in the database coresponding to the given object, with the values contained in this object, according to the object mapping stored or generated by the given object mapping key.
 

Uses of PersistenceException in com.jenkov.mrpersister.itf.command
 

Methods in com.jenkov.mrpersister.itf.command that throw PersistenceException
 IDaos IDaosFactory.createDaos()
          Creates an IDaos instance containing a connection obtained from the default DataSource set on the PersistenceManager this IDaosFactory belongs to.
 IDaos IDaosFactoryStrategy.createDaos(IDaosFactory daosFactory, java.lang.Object configKey, java.sql.Connection connection)
           
 IDaos IDaosFactory.createDaos(IPersistenceConfiguration configuration)
          Creates an IDaos instance that uses the given IPersistenceConfiguration for its actions.
 IDaos IDaosFactory.createDaos(java.lang.Object configKey)
          Creates an IDaos instance containing a connection obtained from the DataSource set on the IPersistenceConfiguration stored in the persistence configuration factory by the given key.
 java.lang.Object IDaoCommandExecutor.execute(IDaoCommand command)
          Obtains a connection from the default data source, executes this dao command and closes the connection afterwards.
 java.lang.Object IDaoCommandExecutor.execute(IDaoCommand command, java.sql.Connection connection)
          Executes this dao command using the given connection, and closes the connection afterwards.
 java.lang.Object IDaoCommand.execute(IDaos daos)
          Executes this dao command.
 java.lang.Object IDaoCommandExecutor.execute(java.lang.Object configKey, IDaoCommand command)
          Obtains a connection from the data source set on the IPersistenceConfiguration stored by the given configKey (in the persistence managers config factory), executes this dao command and closes the connection afterwards.
 java.lang.Object IDaoCommandExecutor.execute(java.lang.Object configKey, IDaoCommand command, java.sql.Connection connection)
          Executes the dao command using the given connection and the IPersistenceConfiguration stored by the given configKey in the persistence managers config factory), and closes the connection afterwards.
 java.lang.Object IDaoCommandExecutor.executeTransaction(IDaoCommand command)
          Obtains a connection from the default data source, sets auto commit to false, executes the dao command and tries to commit the transaction.
 java.lang.Object IDaoCommandExecutor.executeTransaction(IDaoCommand command, java.sql.Connection connection)
          Sets auto commit to false on the given connection, executes the dao command and tries to commit the transaction.
 java.lang.Object IDaoCommandExecutor.executeTransaction(java.lang.Object configKey, IDaoCommand command)
          Obtains a connection from the data source set on the IPersistenceConfiguration stored by the given configKey (in the persistence managers config factory), sets auto commit to false, executes the dao command and tries to commit the transaction.
 java.lang.Object IDaoCommandExecutor.executeTransaction(java.lang.Object configKey, IDaoCommand command, java.sql.Connection connection)
          Obtains the persistence configuration stored by the given config key, (in the persistence managers config factory), sets auto commit to false on the given connection, executes the dao command, and tries to commit the transaction.
 

Uses of PersistenceException in com.jenkov.mrpersister.itf.mapping
 

Methods in com.jenkov.mrpersister.itf.mapping that throw PersistenceException
 void IObjectMapping.addGetterMapping(IGetterMapping mapping)
          Adds a getter method method to this object method.
 void IObjectMappingFactory.addGetterMapping(IObjectMapping mapping, java.lang.String methodName, java.lang.String columnName, boolean isTableMapped)
          Adds a getter method to the given object mapping.
 void IObjectMappingFactory.addGetterMapping(IObjectMapping mapping, java.lang.String methodName, java.lang.String columnName, boolean isTableMapped, boolean isPrimaryKey, boolean isAutoGenerated)
          Adds a getter method to the given object mapping.
 void IObjectMappingFactory.addSetterMapping(IObjectMapping mapping, java.lang.String methodName, java.lang.Class parameterType, java.lang.String columnName, boolean isTableMapped)
          Adds a setter method to the given object mapping.
 void IObjectMappingFactory.addSetterMapping(IObjectMapping mapping, java.lang.String methodName, java.lang.Class parameterType, java.lang.String columnName, boolean isTableMapped, boolean isPrimaryKey)
          Adds a setter method to the given object mapping.
 void IObjectMappingFactory.addSetterMapping(IObjectMapping mapping, java.lang.String methodName, java.lang.String columnName, boolean isTableMapped)
          Adds a setter method to the given object mapping.
 void IObjectMappingFactory.addSetterMapping(IObjectMapping mapping, java.lang.String methodName, java.lang.String columnName, boolean isTableMapped, boolean isPrimaryKey)
          Adds a setter method to the given object mapping.
 void IObjectMapping.addSetterMapping(ISetterMapping mapping)
          Adds a getter method method to this object method.
 IGetterMapping IObjectMappingFactory.createGetterMapping(java.lang.Class methodOwner, java.lang.String methodName, java.lang.String columnName)
           
 IGetterMapping IObjectMappingFactory.createGetterMapping(java.lang.Class methodOwner, java.lang.String methodName, java.lang.String columnName, boolean isTableMapped)
           
 ISetterMapping IObjectMappingFactory.createSetterMapping(java.lang.Class methodOwner, java.lang.String methodName, java.lang.Class parameterType, java.lang.String columnName)
           
 ISetterMapping IObjectMappingFactory.createSetterMapping(java.lang.Class methodOwner, java.lang.String methodName, java.lang.Class parameterType, java.lang.String columnName, boolean isTableMapped)
           
 ISetterMapping IObjectMappingFactory.createSetterMapping(java.lang.Class methodOwner, java.lang.String methodName, java.lang.String columnName)
           
 ISetterMapping IObjectMappingFactory.createSetterMapping(java.lang.Class methodOwner, java.lang.String methodName, java.lang.String columnName, boolean isTableMapped)
           
 java.lang.String IDbNameDeterminer.determineColumnName(java.util.Collection names, java.lang.String tableName, java.sql.Connection connection)
          Determines which, if any, of the given possible column names in the given collection is matching a column name in the given table.
 java.lang.String IDbNameDeterminer.determineTableName(java.util.Collection names, java.sql.Connection connection)
          Determines which, if any, of the given possible table names in the given collection is matching a table name in the database.
 java.lang.String IDbNameDeterminer.determineTableName(java.util.Collection names, java.lang.String databaseName, java.sql.Connection connection)
          Determines which, if any, of the given possible table names in the given collection is matching a table name in the database.
 java.lang.String IKey.getColumn()
          If this key only consists of one column, this method will return that column.
 IObjectMapping ICustomObjectMapper.getObjectMapping(java.lang.Object objectMappingKey)
          Creates an object mapping for the given object mapping key.
 IObjectMapping IObjectMapper.getObjectMapping(java.lang.Object objectMappingKey, IPersistenceConfiguration configuration, java.sql.Connection connection)
          Returns an object mapping from the cache in the given configuration, if one already exists.
 java.lang.String IDbPrimaryKeyDeterminer.getPrimaryKeyColumnName(java.lang.String table, java.lang.String databaseName, java.sql.Connection connection)
          Deprecated. Use the getPrimaryKeyColumnsinstead
 IKey IDbPrimaryKeyDeterminer.getPrimaryKeyMapping(java.lang.String table, java.lang.String databaseName, java.sql.Connection connection)
          Returns a list of the columns that are part of the
 IKeyValue IObjectMapping.getPrimaryKeyValueForObject(java.lang.Object object, IKeyValue keyValue)
          Returns an IKeyValue instance matching the primary key of this object mapping, and with the key values extracted from the given object.
 IKeyValue IObjectMapping.getPrimaryKeyValueForRecord(java.sql.ResultSet result, IKeyValue keyValue)
          Returns the primary key value as an IKeyValue instance for the record the ResultSet is pointing to.
 java.lang.String ICustomObjectMapper.getTableName(java.lang.Object objectMappingKey)
           
 java.lang.Object ISetterMapping.getValueFromResultSet(java.sql.ResultSet result)
          Returns the value from column in the ResultSet that this Setter mapping maps to.
 void IGetterMapping.insertObject(java.lang.Object value, java.sql.PreparedStatement statement, int index)
          This method inserts the given object into the given PreparedStatement as a statement parameter using the given index as index to what "?" in the PreparedStatement to insert the value for.
 void IGetterMapping.insertValueFromObject(java.lang.Object target, java.sql.PreparedStatement statement, int index)
          This method extracts a value from an object by calling the getter method associated with this getter method method on the target object.
 void ISetterMapping.insertValueIntoObject(java.lang.Object target, java.sql.ResultSet result)
          Moves the value of the column referenced by this setter method method from the ResultSet into the given object, by calling the Method instance associated with this setter method method with the given object as target, and the extracted value as a parameter.
 IObjectMapping IObjectMapper.mapGettersToTable(java.lang.Class persistentObjectClass, IObjectMapping objectMapping, java.sql.Connection connection, java.lang.String databaseName, java.lang.String table)
          Maps an object to the table provided as parameter, using method name guessing for the members/fields.
 IObjectMapping IObjectMapper.mapSettersToSelf(java.lang.Class persistentObjectClass, IObjectMapping objectMapping)
          Maps an object to fields named the same as it's setters and adds the method mappings to the provided object mapping.
 IObjectMapping IObjectMapper.mapSettersToTable(java.lang.Class persistentObjectClass, IObjectMapping objectMapping, java.sql.Connection connection, java.lang.String databaseName, java.lang.String table)
          Maps an object to the table provided as parameter, using method name guessing for the members/fields.
 IObjectMapping IObjectMapper.mapToTable(java.lang.Class persistentObjectClass, IObjectMapping objectMapping, java.sql.Connection connection, java.lang.String databaseName, java.lang.String table)
          Maps an object to the table provided as parameter, using method name guessing for the members/fields.
 void ICustomObjectMapper.modify(java.lang.Object objectMappingKey, IObjectMapping mapping)
           
 IKeyValue IKey.toKeyValue(java.lang.Object keyValueObject)
          Wraps the given key value object in a IKeyValue instance.
 

Uses of PersistenceException in com.jenkov.mrpersister.util
 

Methods in com.jenkov.mrpersister.util that throw PersistenceException
static void JdbcUtil.close(java.sql.Connection connection)
          Closes the provided connection, if it is not already closed.
static void JdbcUtil.close(java.sql.Connection connection, java.sql.Statement statement, java.sql.ResultSet result)
          Closes the ResultSet, then the Statement or PreparedStatement, and finally the Connection in the same sequence as mentioned here.
static void JdbcUtil.close(IGenericDao dao)
          Closes the connection enclosed in the given IGenericDao instance.
static void JdbcUtil.close(java.sql.ResultSet result)
          Closes the provided ResultSet.
static void JdbcUtil.close(java.sql.Statement statement)
          Closes the provided Statement or PreparedStatement.
static void JdbcUtil.insertParameter(java.sql.PreparedStatement statement, int index, java.lang.Object parameter)
          Inserts a parameter into a PreparedStatement on the given index.
static void JdbcUtil.insertParameters(java.sql.PreparedStatement statement, java.util.Collection parameters)
          Inserts all parameters in the collection into the PreparedStatement instance in the sequence their are returned by the collection's iterator.
static void JdbcUtil.insertParameters(java.sql.PreparedStatement statement, java.lang.Object[] parameters)
          Inserts all parameters in the array into the PreparedStatement instance in the sequence their are located in the array.
static int MappingUtil.insertPrimaryKey(IObjectMapping mapping, IKeyValue keyValue, java.sql.PreparedStatement statement, int index)
          This method can insert the given key value object into a prepared statement.
static int JdbcUtil.parameterCount(java.sql.PreparedStatement statement)
           
static java.sql.PreparedStatement JdbcUtil.prepareStatement(java.sql.Connection connection, java.lang.String sql)