Uses of Class
com.uwyn.rife.database.exceptions.DatabaseException

Packages that use DatabaseException
com.uwyn.rife.authentication.credentialsmanagers.exceptions Provides classes for the exceptions that can occur during the management of RoleUser credentials. 
com.uwyn.rife.authentication.remembermanagers.exceptions Provides exception classes for the "remember me" managers. 
com.uwyn.rife.authentication.sessionmanagers.exceptions Provides exception classes for the authentication session managers. 
com.uwyn.rife.cmf.dam Provides classes and interfaces for the database access management of the content management framework. 
com.uwyn.rife.cmf.dam.contentmanagers.exceptions Provides exception classes for the content information managers. 
com.uwyn.rife.cmf.dam.contentstores.exceptions Provides exception classes for the content data managers. 
com.uwyn.rife.database Provides classes and interfaces for the object-oriented query builders, database abstraction layer, persistance manager, query handling templates, fault-tolerant JDBC wrappers and connection pooling. 
com.uwyn.rife.database.exceptions Provides exception classes for the database framework. 
com.uwyn.rife.database.querymanagers.generic Provides classes and interfaces for the persistance framework. 
com.uwyn.rife.database.querymanagers.generic.exceptions Provides exception classes for the generic query manager. 
com.uwyn.rife.database.types Provides classes for the conversion from Java to SQL values and vice-versa. 
com.uwyn.rife.mail.exceptions Provides exception classes for the mail queue. 
com.uwyn.rife.scheduler.taskmanagers.exceptions Provides classes for the exceptions that can occur during the management of tasks. 
com.uwyn.rife.scheduler.taskoptionmanagers.exceptions Provides classes for the exceptions that can occur during the management of task options. 
 

Uses of DatabaseException in com.uwyn.rife.authentication.credentialsmanagers.exceptions
 

Constructors in com.uwyn.rife.authentication.credentialsmanagers.exceptions with parameters of type DatabaseException
AddRoleErrorException(String role, DatabaseException cause)
           
ClearUsersErrorException(DatabaseException cause)
           
ContainsRoleErrorException(String role, DatabaseException cause)
           
ContainsUserErrorException(String login, DatabaseException cause)
           
CountRolesErrorException(DatabaseException cause)
           
CountUsersErrorException(DatabaseException cause)
           
GetAttributesErrorException(String login, DatabaseException cause)
           
GetLoginErrorException(DatabaseException cause, long userId)
           
GetUserIdErrorException(DatabaseException cause, String login)
           
InstallCredentialsErrorException(DatabaseException cause)
           
IsUserInRoleErrorException(long userId, String role, DatabaseException cause)
           
IsUserValidErrorException(String login, DatabaseException cause)
           
IsUserValidErrorException(String login, String role, DatabaseException cause)
           
ListRolesErrorException(DatabaseException cause)
           
ListUsersErrorException(DatabaseException cause)
           
RemoveCredentialsErrorException(DatabaseException cause)
           
RemoveRoleErrorException(String name, DatabaseException cause)
           
RemoveUserErrorException(Long userId, DatabaseException cause)
           
RemoveUserErrorException(String login, DatabaseException cause)
           
 

Uses of DatabaseException in com.uwyn.rife.authentication.remembermanagers.exceptions
 

Constructors in com.uwyn.rife.authentication.remembermanagers.exceptions with parameters of type DatabaseException
EraseAllRememberIdsErrorException(DatabaseException cause)
           
EraseRememberIdErrorException(String rememberId, DatabaseException cause)
           
EraseUserRememberIdsErrorException(long userId, DatabaseException cause)
           
PurgeRememberIdsErrorException(DatabaseException cause)
           
 

Uses of DatabaseException in com.uwyn.rife.authentication.sessionmanagers.exceptions
 

Constructors in com.uwyn.rife.authentication.sessionmanagers.exceptions with parameters of type DatabaseException
ContinueSessionErrorException(String authId, DatabaseException cause)
           
CountSessionsErrorException(DatabaseException cause)
           
EraseAllSessionsErrorException(DatabaseException cause)
           
EraseSessionErrorException(String authId, DatabaseException cause)
           
EraseUserSessionsErrorException(long userId, DatabaseException cause)
           
GetSessionUserIdErrorException(String authId, DatabaseException cause)
           
InstallSessionsErrorException(DatabaseException cause)
           
IsSessionValidErrorException(String authId, String hostIp, DatabaseException cause)
           
PurgeSessionsErrorException(DatabaseException cause)
           
RemoveSessionsErrorException(DatabaseException cause)
           
SessionRememberedCheckErrorException(String authId, DatabaseException cause)
           
StartSessionErrorException(long userId, String hostIp, DatabaseException cause)
           
 

Uses of DatabaseException in com.uwyn.rife.cmf.dam
 

Methods in com.uwyn.rife.cmf.dam that throw DatabaseException
 boolean ContentQueryManager.delete(int objectId)
          Deletes a bean according to its ID.
 boolean ContentQueryManager.hasContent(int objectId, String propertyName)
          Checks if there's content available for a certain property of a bean.
 boolean ContentQueryManager.hasContent(T bean, String propertyName)
          Checks if there's content available for a certain property of a bean.
 List<T> ContentQueryManager.restore()
          Restores all beans.
 T ContentQueryManager.restore(int objectId)
          Restores a bean according to its ID.
 List<T> ContentQueryManager.restore(RestoreQuery query)
          Restores all beans from a RestoreQuery.
 T ContentQueryManager.restoreFirst(RestoreQuery query)
          Restores the first bean from a RestoreQuery.
 int ContentQueryManager.save(T bean)
          Saves a bean.
 

Uses of DatabaseException in com.uwyn.rife.cmf.dam.contentmanagers.exceptions
 

Constructors in com.uwyn.rife.cmf.dam.contentmanagers.exceptions with parameters of type DatabaseException
InstallContentErrorException(DatabaseException cause)
           
RemoveContentErrorException(DatabaseException cause)
           
 

Uses of DatabaseException in com.uwyn.rife.cmf.dam.contentstores.exceptions
 

Constructors in com.uwyn.rife.cmf.dam.contentstores.exceptions with parameters of type DatabaseException
DeleteContentDataErrorException(int id, DatabaseException cause)
           
HasContentDataErrorException(int id, DatabaseException cause)
           
InstallContentStoreErrorException(DatabaseException cause)
           
RemoveContentStoreErrorException(DatabaseException cause)
           
RetrieveSizeErrorException(int id, DatabaseException cause)
           
 

Uses of DatabaseException in com.uwyn.rife.database
 

Methods in com.uwyn.rife.database that throw DatabaseException
 void DbPreparedStatement.addBatch()
          Adds a set of parameters to this DbPreparedStatement object's batch of commands.
 void DbStatement.addBatch(String sql)
          Adds the given SQL command to the current list of commmands for this Statement object.
 boolean DbConnection.beginTransaction()
          Warning: only use the raw transaction methods if you really know what you're doing.
 void DbStatement.cancel()
          Cancels this DbStatement object if both the DBMS and driver support aborting a SQL statement.
 void Datasources.cleanup()
          Cleans up all connections that have been reserved by this datasource.
 void ConnectionPool.cleanup()
          Cleans up all connections that have been reserved by this datasource.
 void Datasource.cleanup()
          Cleans up all connections that have been reserved by this datasource.
 void DbStatement.clearBatch()
          Empties this Statement object's current list of SQL commands.
 void DbPreparedStatement.clearParameters()
          Clears the current parameter values immediately.
 void DbStatement.clearWarnings()
          Clears all the warnings reported on this DbStatement object.
 void DbPreparedStatement.close()
          Releases this DbPreparedStatement object's database and JDBC resources immediately instead of waiting for this to happen when it is automatically closed.
 void DbStatement.close()
          Releases this DbStatement object's database and JDBC resources immediately instead of waiting for this to happen when it is automatically closed.
 void DbConnection.close()
          Releases all the resources that are being used by this connection.
 boolean DbConnection.commit()
          Warning: only use the raw transaction methods if you really know what you're doing.
 DbStatement DbConnection.createStatement()
          Creates a new DbStatement instance for this connection.
 DbStatement DbConnection.createStatement(int resultSetType, int resultSetConcurrency)
          Creates a new DbStatement instance for this connection with the given type and concurrency.
 DbStatement DbConnection.createStatement(int resultSetType, int resultSetConcurrency, int resultSetHoldability)
          Creates a new DbStatement instance for this connection with the given type, concurrency, and holdability..
 boolean DbStatement.execute(String sql)
          Executes the given SQL statement, which may return multiple results.
 boolean DbStatement.execute(String sql, int autoGeneratedKeys)
          Executes the given SQL statement, which may return multiple results, and signals the driver that any auto-generated keys should be made available for retrieval.
 boolean DbStatement.execute(String sql, int[] columnIndexes)
          Executes the given SQL statement, which may return multiple results, and signals the driver that the auto-generated keys indicated in the given array should be made available for retrieval.
 boolean DbStatement.execute(String sql, String[] columnNames)
          Executes the given SQL statement, which may return multiple results, and signals the driver that the auto-generated keys indicated in the given array should be made available for retrieval.
 int[] DbStatement.executeBatch()
          Submits a batch of commands to the database for execution and if all commands execute successfully, returns an array of update counts.
 boolean DbQueryManager.executeFetchAll(ReadQuery query, DbRowProcessor rowProcessor)
          Safely and quickly fetches all the rows from the results of a select query.
 boolean DbQueryManager.executeFetchAll(ReadQuery query, DbRowProcessor rowProcessor, DbPreparedStatementHandler handler)
          Safely fetches all the rows from the results of a customizable select query.
<BeanType> List<BeanType>
DbQueryManager.executeFetchAllBeans(ReadQuery query, Class<BeanType> beanClass)
          Safely and quickly fetches the all the bean instances from the results of a select query.
<BeanType> List<BeanType>
DbQueryManager.executeFetchAllBeans(ReadQuery query, Class<BeanType> beanClass, DbPreparedStatementHandler handler)
          Safely fetches the all the bean instances from the results of a customizable select query.
 boolean DbQueryManager.executeFetchFirst(ReadQuery query, DbRowProcessor rowProcessor)
          Safely and quickly fetches the first row from the results of a select query.
 boolean DbQueryManager.executeFetchFirst(ReadQuery query, DbRowProcessor rowProcessor, DbPreparedStatementHandler handler)
          Safely fetches the first row from the results of a customizable select query.
<BeanType> BeanType
DbQueryManager.executeFetchFirstBean(ReadQuery query, Class<BeanType> beanClass)
          Safely and quickly fetches the first bean instance from the results of a select query.
<BeanType> BeanType
DbQueryManager.executeFetchFirstBean(ReadQuery query, Class<BeanType> beanClass, DbPreparedStatementHandler handler)
          Safely fetches the first bean instance from the results of a customizable select query.
 boolean DbQueryManager.executeGetFirstBoolean(ReadQuery query)
          Safely and quickly retrieves the first cell as a boolean from the results of a select query.
 boolean DbQueryManager.executeGetFirstBoolean(ReadQuery query, DbPreparedStatementHandler handler)
          Safely retrieves the first cell as a boolean from the results of a customizable select query.
 byte DbQueryManager.executeGetFirstByte(ReadQuery query)
          Safely and quickly retrieves the first cell as a byte from the results of a select query.
 byte DbQueryManager.executeGetFirstByte(ReadQuery query, DbPreparedStatementHandler handler)
          Safely retrieves the first cell as a byte from the results of a customizable select query.
 byte[] DbQueryManager.executeGetFirstBytes(ReadQuery query)
          Safely and quickly retrieves the first cell as a byte array from the results of a select query.
 byte[] DbQueryManager.executeGetFirstBytes(ReadQuery query, DbPreparedStatementHandler handler)
          Safely retrieves the first cell as a byte array from the results of a customizable select query.
 Date DbQueryManager.executeGetFirstDate(ReadQuery query)
          Safely and quickly retrieves the first cell as a sql Date from the results of a select query.
 Date DbQueryManager.executeGetFirstDate(ReadQuery query, Calendar cal)
          Safely and quickly retrieves the first cell as a sql Date from the results of a select query.
 Date DbQueryManager.executeGetFirstDate(ReadQuery query, Calendar cal, DbPreparedStatementHandler handler)
          Safely retrieves the first cell as a sql Date from the results of a customizable select query.
 Date DbQueryManager.executeGetFirstDate(ReadQuery query, DbPreparedStatementHandler handler)
          Safely retrieves the first cell as a sql Date from the results of a customizable select query.
 double DbQueryManager.executeGetFirstDouble(ReadQuery query)
          Safely and quickly retrieves the first cell as a double from the results of a select query.
 double DbQueryManager.executeGetFirstDouble(ReadQuery query, DbPreparedStatementHandler handler)
          Safely retrieves the first cell as a double from the results of a customizable select query.
 float DbQueryManager.executeGetFirstFloat(ReadQuery query)
          Safely and quickly retrieves the first cell as a float from the results of a select query.
 float DbQueryManager.executeGetFirstFloat(ReadQuery query, DbPreparedStatementHandler handler)
          Safely retrieves the first cell as a float from the results of a customizable select query.
 int DbQueryManager.executeGetFirstInt(ReadQuery query)
          Safely and quickly retrieves the first cell as a int from the results of a select query.
 int DbQueryManager.executeGetFirstInt(ReadQuery query, DbPreparedStatementHandler handler)
          Safely retrieves the first cell as a int from the results of a customizable select query.
 long DbQueryManager.executeGetFirstLong(ReadQuery query)
          Safely and quickly retrieves the first cell as a long from the results of a select query.
 long DbQueryManager.executeGetFirstLong(ReadQuery query, DbPreparedStatementHandler handler)
          Safely retrieves the first cell as a long from the results of a customizable select query.
 short DbQueryManager.executeGetFirstShort(ReadQuery query)
          Safely and quickly retrieves the first cell as a short from the results of a select query.
 short DbQueryManager.executeGetFirstShort(ReadQuery query, DbPreparedStatementHandler handler)
          Safely retrieves the first cell as a short from the results of a customizable select query.
 String DbQueryManager.executeGetFirstString(ReadQuery query)
          Safely and quickly retrieves the first cell as a String from the results of a select query.
 String DbQueryManager.executeGetFirstString(ReadQuery query, DbPreparedStatementHandler handler)
          Safely retrieves the first cell as a String from the results of a customizable select query.
 Time DbQueryManager.executeGetFirstTime(ReadQuery query)
          Safely and quickly retrieves the first cell as a sql Time from the results of a select query.
 Time DbQueryManager.executeGetFirstTime(ReadQuery query, Calendar cal)
          Safely and quickly retrieves the first cell as a sql Time from the results of a select query.
 Time DbQueryManager.executeGetFirstTime(ReadQuery query, Calendar cal, DbPreparedStatementHandler handler)
          Safely retrieves the first cell as a sql Time from the results of a customizable select query.
 Time DbQueryManager.executeGetFirstTime(ReadQuery query, DbPreparedStatementHandler handler)
          Safely retrieves the first cell as a sql Time from the results of a customizable select query.
 Timestamp DbQueryManager.executeGetFirstTimestamp(ReadQuery query)
          Safely and quickly retrieves the first cell as a sql Timestamp from the results of a select query.
 Timestamp DbQueryManager.executeGetFirstTimestamp(ReadQuery query, Calendar cal)
          Safely and quickly retrieves the first cell as a sql Timestamp from the results of a select query.
 Timestamp DbQueryManager.executeGetFirstTimestamp(ReadQuery query, Calendar cal, DbPreparedStatementHandler handler)
          Safely retrieves the first cell as a sql Timestamp from the results of a customizable select query.
 Timestamp DbQueryManager.executeGetFirstTimestamp(ReadQuery query, DbPreparedStatementHandler handler)
          Safely retrieves the first cell as a sql Timestamp from the results of a customizable select query.
 boolean DbQueryManager.executeHasResultRows(ReadQuery query)
          Safely and quickly verifies if a select query returns any rows.
 boolean DbQueryManager.executeHasResultRows(ReadQuery query, DbPreparedStatementHandler handler)
          Safely verifies if a customizable select query returns any rows.
 void DbPreparedStatement.executeQuery()
          Executes the SQL query in this DbPreparedStatement object.
 DbStatement DbQueryManager.executeQuery(ReadQuery query)
          Executes a query statement in a connection of this DbQueryManager's Datasource.
 void DbStatement.executeQuery(ReadQuery query)
          Executes the given Query builder's SQL statement.
<ResultType>
ResultType
DbQueryManager.executeQuery(ReadQuery query, DbPreparedStatementHandler handler)
          Executes a customizable select statement.
<ResultType>
ResultType
DbQueryManager.executeQuery(ReadQuery query, DbResultSetHandler handler)
          Executes a select statement and handle the results in a custom fashion.
 void DbStatement.executeQuery(String sql)
          Executes the given SQL statement.
 int DbPreparedStatement.executeUpdate()
          Executes the SQL statement in this DbPreparedStatement object, which must be an SQL INSERT, UPDATE or DELETE statement; or a SQL statement that returns nothing, such as a DDL statement.
 int DbQueryManager.executeUpdate(Query query)
          Safely and quickly executes an update statement.
 int DbStatement.executeUpdate(Query query)
          Executes the given Query builder's SQL statement, which may be an INSERT, UPDATE, or DELETE statement or a SQL statement that returns nothing, such as an SQL DDL statement.
 int DbQueryManager.executeUpdate(Query query, DbPreparedStatementHandler handler)
          Safely execute an updates statement.
 int DbQueryManager.executeUpdate(String sql)
          Safely and quickly executes an update statement.
 int DbStatement.executeUpdate(String sql)
          Executes the given SQL statement, which may be an INSERT, UPDATE, or DELETE statement or an SQL statement that returns nothing, such as an SQL DDL statement.
<ResultType>
ResultType
DbQueryManager.executeUseFirstAsciiStream(ReadQuery query, InputStreamUser user)
          Safely and quickly retrieves the first cell as an ASCII InputStream from the results of a select query.
<ResultType>
ResultType
DbQueryManager.executeUseFirstAsciiStream(ReadQuery query, InputStreamUser user, DbPreparedStatementHandler handler)
          Safely retrieves the first cell as an ASCII InputStream from the results of a customizable select query.
<ResultType>
ResultType
DbQueryManager.executeUseFirstBinaryStream(ReadQuery query, InputStreamUser user)
          Safely and quickly retrieves the first cell as an binary InputStream from the results of a select query.
<ResultType>
ResultType
DbQueryManager.executeUseFirstBinaryStream(ReadQuery query, InputStreamUser user, DbPreparedStatementHandler handler)
          Safely retrieves the first cell as an binary InputStream from the results of a customizable select query.
<ResultType>
ResultType
DbQueryManager.executeUseFirstCharacterStream(ReadQuery query, ReaderUser user)
          Safely and quickly retrieves the first cell as an character Reader from the results of a select query.
<ResultType>
ResultType
DbQueryManager.executeUseFirstCharacterStream(ReadQuery query, ReaderUser user, DbPreparedStatementHandler handler)
          Safely retrieves the first cell as an character Reader from the results of a customizable select query.
 boolean DbQueryManager.fetch(ResultSet resultSet)
          Fetches the next row of a resultset without processing it in any way.
 boolean DbQueryManager.fetch(ResultSet resultSet, DbRowProcessor rowProcessor)
          Fetches the next row of a resultset and processes it through a DbRowProcessor.
 boolean DbQueryManager.fetchAll(ResultSet resultSet, DbRowProcessor rowProcessor)
          Fetches all the next rows of a resultset and processes it through a DbRowProcessor.
 DbConnection DbQueryManager.getConnection()
          Obtains a DbConnection of this DbQueryManager's Datasource.
 DbConnection Datasource.getConnection()
          Retrieves a free database connection.
 int DbStatement.getFetchDirection()
          Retrieves the direction for fetching rows from database tables that is the default for result sets generated from this DbStatement object.
 int DbStatement.getFetchSize()
          Retrieves the number of result set rows that is the default fetch size for ResultSet objects generated from this DbStatement object.
 InputStream DbResultSet.getFirstAsciiStream()
          Retrieves the first field of the first row of this DbResultSet object as an ascii stream.
 BigDecimal DbResultSet.getFirstBigDecimal()
          Retrieves the first field of the first row of this DbResultSet object as a big decimal.
 InputStream DbResultSet.getFirstBinaryStream()
          Retrieves the first field of the first row of this DbResultSet object as a binary stream.
 boolean DbResultSet.getFirstBoolean()
          Retrieves the first field of the first row of this DbResultSet object as a boolean.
 byte DbResultSet.getFirstByte()
          Retrieves the first field of the first row of this DbResultSet object as a byte.
 byte[] DbResultSet.getFirstBytes()
          Retrieves the first field of the first row of this DbResultSet object as an array of bytes.
 Reader DbResultSet.getFirstCharacterStream()
          Retrieves the first field of the first row of this DbResultSet object as a character stream.
 Date DbResultSet.getFirstDate()
          Retrieves the first field of the first row of this DbResultSet object as a sql date.
 Date DbResultSet.getFirstDate(Calendar cal)
          Retrieves the first field of the first row of this DbResultSet object as a sql date.
 double DbResultSet.getFirstDouble()
          Retrieves the first field of the first row of this DbResultSet object as a double.
 float DbResultSet.getFirstFloat()
          Retrieves the first field of the first row of this DbResultSet object as a float.
 int DbStatement.getFirstGeneratedIntKey()
          Retrieves the first auto-generated key created as a result of executing this DbStatement object as an integer.
 int DbResultSet.getFirstInt()
          Retrieves the first field of the first row of this DbResultSet object as an integer.
 long DbResultSet.getFirstLong()
          Retrieves the first field of the first row of this DbResultSet object as a long.
 short DbResultSet.getFirstShort()
          Retrieves the first field of the first row of this DbResultSet object as a short.
 String DbResultSet.getFirstString()
          Retrieves the first field of the first row of this DbResultSet object as a string.
 Time DbResultSet.getFirstTime()
          Retrieves the first field of the first row of this DbResultSet object as a sql time.
 Time DbResultSet.getFirstTime(Calendar cal)
          Retrieves the first field of the first row of this DbResultSet object as a sql time.
 Timestamp DbResultSet.getFirstTimestamp()
          Retrieves the first field of the first row of this DbResultSet object as a sql timestamo.
 Timestamp DbResultSet.getFirstTimestamp(Calendar cal)
          Retrieves the first field of the first row of this DbResultSet object as a sql timestamp.
 DbResultSet DbStatement.getGeneratedKeys()
          Retrieves any auto-generated keys created as a result of executing this DbStatement object.
 int DbStatement.getMaxFieldSize()
          Retrieves the maximum number of bytes that can be returned for character and binary column values in a ResultSet object produced by this Statement object.
 int DbStatement.getMaxRows()
          Retrieves the maximum number of rows that a ResultSet object produced by this DbStatement object can contain.
 ResultSetMetaData DbPreparedStatement.getMetaData()
          Retrieves a ResultSetMetaData object that contains information about the columns of the ResultSet object that will be returned when this PDbreparedStatement object is executed.
 DatabaseMetaData DbConnection.getMetaData()
          Retrieves a DatabaseMetaData object that contains metadata about the database to which this DbConnection object represents a connection.
 boolean DbStatement.getMoreResults()
          Moves to this DbStatement object's next result, returns true if it is a ResultSet object, and implicitly closes any current ResultSet object(s) obtained with the method getResultSet.
 boolean DbStatement.getMoreResults(int current)
          Moves to this DbStatement object's next result, deals with any current ResultSet object(s) according to the instructions specified by the given flag, and returns true if the next result is a ResultSet object.
 int[] DbPreparedStatement.getParameterIndices(String parameterName)
          Retrieves all the parameter indices that correspond to the name of a parameter of the ParametrizedQuery object that is used by this DbPreparedStatement instance.
 ParameterMetaData DbPreparedStatement.getParameterMetaData()
          Retrieves the number, types and properties of this DbPreparedStatement object's parameters.
 DbPreparedStatement DbConnection.getPreparedStatement(Query query)
          Creates a new DbPreparedStatement instance for this connection from a Query instance.
 DbPreparedStatement DbConnection.getPreparedStatement(Query query, int autoGeneratedKeys)
          Creates a new DbPreparedStatement instance for this connection from a Query instance that has the capability to retrieve auto-generated keys.
 DbPreparedStatement DbConnection.getPreparedStatement(Query query, int resultSetType, int resultSetConcurrency, int resultSetHoldability)
          Creates a new DbPreparedStatement instance for this connection from a Query instance that will generate ResultSet objects with the given type, concurrency, and holdability.
 DbPreparedStatement DbConnection.getPreparedStatement(String sql)
          Creates a new DbPreparedStatement instance for this connection from a regular SQL query string.
 DbPreparedStatement DbConnection.getPreparedStatement(String sql, int autoGeneratedKeys)
          Creates a new DbPreparedStatement instance for this connection from a Query instance that has the capability to retrieve auto-generated keys.
 int DbStatement.getQueryTimeout()
          Retrieves the number of seconds the driver will wait for a DbStatement object to execute.
 int DbStatement.getResultSetConcurrency()
          Retrieves the result set concurrency for ResultSet objects generated by this DbStatement object.
 int DbStatement.getResultSetHoldability()
          Retrieves the result set holdability for ResultSet objects generated by this DbStatement object.
 int DbStatement.getResultSetType()
          Retrieves the result set type for ResultSet objects generated by this DbStatement object.
 int DbStatement.getUpdateCount()
          Retrieves the current result as an update count; if the result is a ResultSet object or there are no more results, -1 is returned.
 Object DbPreparedStatement.getVirtualParameterValue(int parameterIndex)
          Get the value of a specific virtual parameter.
 SQLWarning DbStatement.getWarnings()
          Retrieves the first warning reported by calls on this Statement object.
protected  void DbStatement.handleException()
          Performs the cleanup logic in case an exeception is thrown during execution.
 boolean DbResultSet.hasResultRows()
          Determines if there are rows available in the ResultSet object that was returned by an execute method.
<ResultType>
ResultType
DbQueryManager.inTransaction(DbTransactionUser user)
          Ensures that all the instructions that are executed in the provided DbTransactionUser instance are executed inside a transaction and committed afterwards.
 boolean DbConnection.isClosed()
          Indicates whether this DbConnection's connection to the database is closed.
<ResultType>
ResultType
DbQueryManager.reserveConnection(DbConnectionUser user)
          Reserves a database connection for a this particular thread for all the instructions that are executed in the provided DbConnectionUser instance.
 boolean DbConnection.rollback()
          Warning: only use the raw transaction methods if you really know what you're doing.
 DbPreparedStatement DbPreparedStatement.setArray(int parameterIndex, Array x)
          Sets the designated parameter to the given Array object.
 DbPreparedStatement DbPreparedStatement.setArray(String parameterName, Array x)
          Sets the named parameters to the given Array object.
 DbPreparedStatement DbPreparedStatement.setAsciiStream(int parameterIndex, InputStream x, int length)
          Sets the designated parameter to the given input stream, which will have the specified number of bytes.
 DbPreparedStatement DbPreparedStatement.setAsciiStream(String parameterName, InputStream x, int length)
          Sets the named parameter to the given input stream, which will have the specified number of bytes.
 DbPreparedStatement DbPreparedStatement.setBean(Object bean)
          Automatically retrieves all the values of a bean's properties and sets them for the parameters that have been defined by the ParametrizedQuery object of this DbPrepareStatement instance.
 DbPreparedStatement DbPreparedStatement.setBigDecimal(int parameterIndex, BigDecimal x)
          Sets the designated parameter to the given java.math.BigDecimal value.
 DbPreparedStatement DbPreparedStatement.setBigDecimal(String parameterName, BigDecimal x)
          Sets the named parameters to the given java.math.BigDecimal value.
 DbPreparedStatement DbPreparedStatement.setBigDecimals(int[] parameterIndices, BigDecimal x)
          Sets the designated parameters to the given java.math.BigDecimal value.
 DbPreparedStatement DbPreparedStatement.setBinaryStream(int parameterIndex, InputStream x, int length)
          Sets the designated parameter to the given input stream, which will have the specified number of bytes.
 DbPreparedStatement DbPreparedStatement.setBinaryStream(String parameterName, InputStream x, int length)
          Sets the named parameter to the given input stream, which will have the specified number of bytes.
 DbPreparedStatement DbPreparedStatement.setBlob(int parameterIndex, Blob x)
          Sets the designated parameter to the given Blob object.
 DbPreparedStatement DbPreparedStatement.setBlob(String parameterName, Blob x)
          Sets the named parameter to the given Blob object.
 DbPreparedStatement DbPreparedStatement.setBoolean(int parameterIndex, boolean x)
          Sets the designated parameter to the given Java boolean value.
 DbPreparedStatement DbPreparedStatement.setBoolean(String parameterName, boolean x)
          Sets the named parameters to the given Java boolean value.
 DbPreparedStatement DbPreparedStatement.setBooleans(int[] parameterIndices, boolean x)
          Sets the designated parameters to the given Java boolean value.
 DbPreparedStatement DbPreparedStatement.setByte(int parameterIndex, byte x)
          Sets the designated parameter to the given Java byte value.
 DbPreparedStatement DbPreparedStatement.setByte(String parameterName, byte x)
          Sets the named parameters to the given Java byte value.
 DbPreparedStatement DbPreparedStatement.setBytes(int[] parameterIndices, byte x)
          Sets the designated parameters to the given Java byte value.
 DbPreparedStatement DbPreparedStatement.setBytes(int[] parameterIndices, byte[] x)
          Sets the designated parameters to the given Java array of bytes.
 DbPreparedStatement DbPreparedStatement.setBytes(int parameterIndex, byte[] x)
          Sets the designated parameter to the given Java array of bytes.
 DbPreparedStatement DbPreparedStatement.setBytes(String parameterName, byte[] x)
          Sets the named parameters to the given Java array of bytes.
 DbPreparedStatement DbPreparedStatement.setCharacterStream(int parameterIndex, Reader x, int length)
          Sets the designated parameter to the given Reader object, which is the given number of characters long.
 DbPreparedStatement DbPreparedStatement.setCharacterStream(String parameterName, Reader x, int length)
          Sets the named parameter to the given Reader object, which is the given number of characters long.
 DbPreparedStatement DbPreparedStatement.setClob(int parameterIndex, Clob x)
          Sets the designated parameter to the given Clob object.
 DbPreparedStatement DbPreparedStatement.setClob(String parameterName, Clob x)
          Sets the named parameter to the given Clob object.
 DbPreparedStatement DbPreparedStatement.setDate(int parameterIndex, Date x)
          Sets the designated parameter to the given java.sql.Date value.
 DbPreparedStatement DbPreparedStatement.setDate(int parameterIndex, Date x, Calendar cal)
          Sets the designated parameter to the given java.sql.Date value, using the given Calendar object.
 DbPreparedStatement DbPreparedStatement.setDate(String parameterName, Date x)
          Sets the named parameters to the given java.sql.Date value.
 DbPreparedStatement DbPreparedStatement.setDate(String parameterName, Date x, Calendar cal)
          Sets the named parameters to the given java.sql.Date value, using the given Calendar object.
 DbPreparedStatement DbPreparedStatement.setDates(int[] parameterIndices, Date x)
          Sets the designated parameters to the given java.sql.Date value.
 DbPreparedStatement DbPreparedStatement.setDates(int[] parameterIndices, Date x, Calendar cal)
          Sets the designated parameters to the given java.sql.Date value, using the given Calendar object.
 DbPreparedStatement DbPreparedStatement.setDouble(int parameterIndex, double x)
          Sets the designated parameter to the given Java double value.
 DbPreparedStatement DbPreparedStatement.setDouble(String parameterName, double x)
          Sets the named parameters to the given Java double value.
 DbPreparedStatement DbPreparedStatement.setDoubles(int[] parameterIndices, double x)
          Sets the designated parameters to the given Java double value.
 void DbStatement.setFetchDirection(int direction)
          Gives the driver a hint as to the direction in which rows will be processed in ResultSet objects created using this DbStatement object.
 void DbStatement.setFetchSize(int rows)
          Gives the JDBC driver a hint as to the number of rows that should be fetched from the database when more rows are needed.
 DbPreparedStatement DbPreparedStatement.setFloat(int parameterIndex, float x)
          Sets the designated parameter to the given Java float value.
 DbPreparedStatement DbPreparedStatement.setFloat(String parameterName, float x)
          Sets the named parameters to the given Java float value.
 DbPreparedStatement DbPreparedStatement.setFloats(int[] parameterIndices, float x)
          Sets the designated parameters to the given Java float value.
 DbPreparedStatement DbPreparedStatement.setInt(int parameterIndex, int x)
          Sets the designated parameter to the given Java int value.
 DbPreparedStatement DbPreparedStatement.setInt(String parameterName, int x)
          Sets the named parameter to the given Java int value.
 DbPreparedStatement DbPreparedStatement.setInts(int[] parameterIndices, int x)
          Sets the designated parameters to the given Java int value.
 DbPreparedStatement DbPreparedStatement.setLong(int parameterIndex, long x)
          Sets the designated parameter to the given Java long value.
 DbPreparedStatement DbPreparedStatement.setLong(String parameterName, long x)
          Sets the named parameters to the given Java long value.
 DbPreparedStatement DbPreparedStatement.setLongs(int[] parameterIndices, long x)
          Sets the designated parameters to the given Java long value.
 void DbStatement.setMaxFieldSize(int max)
          Sets the limit for the maximum number of bytes in a ResultSet column storing character or binary values to the given number of bytes.
 void DbStatement.setMaxRows(int max)
          Sets the limit for the maximum number of rows that any ResultSet object can contain to the given number.
 DbPreparedStatement DbPreparedStatement.setNull(int parameterIndex, int sqlType)
          Sets the designated parameter to SQL NULL.
 DbPreparedStatement DbPreparedStatement.setNull(int parameterIndex, int sqlType, String typeName)
          Sets the designated parameter to SQL NULL.
 DbPreparedStatement DbPreparedStatement.setNull(String parameterName, int sqlType)
          Sets the named parameters to SQL NULL.
 DbPreparedStatement DbPreparedStatement.setNull(String parameterName, int sqlType, String typeName)
          Sets the named parameters to SQL NULL.
 DbPreparedStatement DbPreparedStatement.setNulls(int[] parameterIndices, int sqlType)
          Sets the designated parameters to SQL NULL.
 DbPreparedStatement DbPreparedStatement.setNulls(int[] parameterIndices, int sqlType, String typeName)
          Sets the designated parameters to SQL NULL.
 DbPreparedStatement DbPreparedStatement.setObject(int parameterIndex, Object x)
          Sets the value of the designated parameter using the given object.
 DbPreparedStatement DbPreparedStatement.setObject(int parameterIndex, Object x, int targetSqlType)
          Sets the value of the designated parameter with the given object.
 DbPreparedStatement DbPreparedStatement.setObject(int parameterIndex, Object x, int targetSqlType, int scale)
          Sets the value of the designated parameter with the given object.
 DbPreparedStatement DbPreparedStatement.setObject(String parameterName, Object x)
          Sets the value of the named parameters using the given object.
 DbPreparedStatement DbPreparedStatement.setObject(String parameterName, Object x, int targetSqlType)
          Sets the value of the named parameters with the given object.
 DbPreparedStatement DbPreparedStatement.setObject(String parameterName, Object x, int targetSqlType, int scale)
          Sets the value of the named parameters with the given object.
 DbPreparedStatement DbPreparedStatement.setObjects(int[] parameterIndices, Object x)
          Sets the value of the designated parameters using the given object.
 DbPreparedStatement DbPreparedStatement.setObjects(int[] parameterIndices, Object x, int targetSqlType)
          Sets the value of the designated parameters with the given object.
 DbPreparedStatement DbPreparedStatement.setObjects(int[] parameterIndices, Object x, int targetSqlType, int scale)
          Sets the value of the designated parameters with the given object.
 void DbStatement.setQueryTimeout(int max)
          Sets the number of seconds the driver will wait for a DbStatement object to execute to the given number of seconds.
 DbPreparedStatement DbPreparedStatement.setRef(int parameterIndex, Ref x)
          Sets the designated parameter to the given REF(<structured-type>) value.
 DbPreparedStatement DbPreparedStatement.setRef(String parameterName, Ref x)
          Sets the named parameter to the given REF(<structured-type>) value.
protected  void DbStatement.setResultset(ResultSet resultSet)
          Set the current ResultSet object and cleans up the previous ResultSet object automatically.
 DbPreparedStatement DbPreparedStatement.setShort(int parameterIndex, short x)
          Sets the designated parameter to the given Java short value.
 DbPreparedStatement DbPreparedStatement.setShort(String parameterName, short x)
          Sets the named parameters to the given Java short value.
 DbPreparedStatement DbPreparedStatement.setShorts(int[] parameterIndices, short x)
          Sets the designated parameters to the given Java short value.
 DbPreparedStatement DbPreparedStatement.setString(int parameterIndex, String x)
          Sets the designated parameter to the given Java String value.
 DbPreparedStatement DbPreparedStatement.setString(String parameterName, String x)
          Sets the named parameters to the given Java String value.
 DbPreparedStatement DbPreparedStatement.setStrings(int[] parameterIndices, String x)
          Sets the designated parameters to the given Java String value.
 DbPreparedStatement DbPreparedStatement.setTime(int parameterIndex, Time x)
          Sets the designated parameter to the given java.sql.Time value.
 DbPreparedStatement DbPreparedStatement.setTime(int parameterIndex, Time x, Calendar cal)
          Sets the designated parameter to the given java.sql.Time value, using the given Calendar object.
 DbPreparedStatement DbPreparedStatement.setTime(String parameterName, Time x)
          Sets the named parameters to the given java.sql.Time value.
 DbPreparedStatement DbPreparedStatement.setTime(String parameterName, Time x, Calendar cal)
          Sets the named parameters to the given java.sql.Time value, using the given Calendar object.
 DbPreparedStatement DbPreparedStatement.setTimes(int[] parameterIndices, Time x)
          Sets the designated parameters to the given java.sql.Time value.
 DbPreparedStatement DbPreparedStatement.setTimes(int[] parameterIndices, Time x, Calendar cal)
          Sets the designated parameters to the given java.sql.Time value, using the given Calendar object.
 DbPreparedStatement DbPreparedStatement.setTimestamp(int parameterIndex, Timestamp x)
          Sets the designated parameter to the given java.sql.Timestamp value.
 DbPreparedStatement DbPreparedStatement.setTimestamp(int parameterIndex, Timestamp x, Calendar cal)
          Sets the designated parameter to the given java.sql.Timestamp value, using the given Calendar object.
 DbPreparedStatement DbPreparedStatement.setTimestamp(String parameterName, Timestamp x)
          Sets the named parameters to the given java.sql.Timestamp value.
 DbPreparedStatement DbPreparedStatement.setTimestamp(String parameterName, Timestamp x, Calendar cal)
          Sets the named parameters to the given java.sql.Timestamp value, using the given Calendar object.
 DbPreparedStatement DbPreparedStatement.setTimestamps(int[] parameterIndices, Timestamp x)
          Sets the designated parameters to the given java.sql.Timestamp value.
 DbPreparedStatement DbPreparedStatement.setTimestamps(int[] parameterIndices, Timestamp x, Calendar cal)
          Sets the designated parameters to the given java.sql.Timestamp value, using the given Calendar object.
 void DbConnection.setTransactionIsolation(int level)
          Attempts to change the transaction isolation level for this DbConnection object to the one given.
 DbPreparedStatement DbPreparedStatement.setURL(int parameterIndex, URL x)
          Sets the designated parameter to the given java.net.URL value.
 DbPreparedStatement DbPreparedStatement.setURL(String parameterName, URL x)
          Sets the named parameters to the given java.net.URL value.
 DbPreparedStatement DbPreparedStatement.setURLs(int[] parameterIndices, URL x)
          Sets the designated parameters to the given java.net.URL value.
 boolean DbConnection.supportsTransactions()
          Indicates whether the Datasource of this DbConnection supports transactions or not.
 boolean DbStatement.wasNull()
          Reports whether the last column read had a value of SQL NULL.
 

Uses of DatabaseException in com.uwyn.rife.database.exceptions
 

Subclasses of DatabaseException in com.uwyn.rife.database.exceptions
 class BatchExecutionErrorException
           
 class CantFindXmlPathException
           
 class CantWriteToDestinationException
           
 class ConnectionCloseErrorException
           
 class ConnectionMetaDataErrorException
           
 class ConnectionOpenErrorException
           
 class ConnectionStatusErrorException
           
 class DatasourceNotFoundException
           
 class DatasourcesException
           
 class DriverInstantiationErrorException
           
 class DriverNameRetrievalErrorException
           
 class ExecutionErrorException
           
 class InitializationErrorException
           
 class MissingManyToOneColumnException
           
 class MissingManyToOneTableException
           
 class MissingResultsException
           
 class MissingXmlPathException
           
 class ModificationTimeErrorException
           
 class NoParametersException
           
 class NoParametrizedQueryException
           
 class ParameterDoesntExistException
           
 class PreparedStatementCreationErrorException
           
 class RollbackException
           
 class RowProcessorErrorException
           
 class StatementCloseErrorException
           
 class StatementCreationErrorException
           
 class StoreXmlErrorException
           
 class TransactionBeginErrorException
           
 class TransactionCommitErrorException
           
 class TransactionErrorException
           
 class TransactionRollbackErrorException
           
 class TransactionSupportCheckErrorException
           
 class TransactionTimedOutException
           
 class UndefinedVirtualParameterException
           
 class UnsupportedDriverNameException
           
 class UnsupportedVirtualParameterTypeException
           
 

Uses of DatabaseException in com.uwyn.rife.database.querymanagers.generic
 

Methods in com.uwyn.rife.database.querymanagers.generic that throw DatabaseException
protected  int AbstractGenericQueryManager._count(Select count)
           
protected  boolean AbstractGenericQueryManager._delete(Delete delete)
           
protected  boolean AbstractGenericQueryManager._delete(Delete delete, int objectId)
           
protected  void AbstractGenericQueryManager._install(CreateSequence createSequence, CreateTable createTable)
           
protected  void AbstractGenericQueryManager._remove(DropSequence dropSequence, DropTable dropTable)
           
protected  List<BeanType> AbstractGenericQueryManager._restore(Select restore)
           
protected  boolean AbstractGenericQueryManager._restore(Select restore, DbRowProcessor rowProcessor)
           
protected  BeanType AbstractGenericQueryManager._restore(Select restore, int objectId)
           
protected  BeanType AbstractGenericQueryManager._restoreFirst(Select restore)
           
protected  int AbstractGenericQueryManager._save(SequenceValue nextId, Insert save, Update saveUpdate, BeanType bean)
           
 int GenericQueryManager.count()
          Count the number of beans persisted.
 int GenericQueryManagerDelegate.count()
           
 int GenericQueryManager.count(CountQuery query)
          Count the number of beans persisted with a custom CountQuery.
 int GenericQueryManagerDelegate.count(CountQuery query)
           
 boolean GenericQueryManager.delete(DeleteQuery query)
          Delete beans selected by the passed in DeleteQuery
 boolean GenericQueryManagerDelegate.delete(DeleteQuery query)
           
 boolean GenericQueryManager.delete(int objectId)
          Delete a single identified bean
 boolean GenericQueryManagerDelegate.delete(int objectId)
           
 String GenericQueryManagerDelegate.getIdentifierName()
           
 int AbstractGenericQueryManager.getIdentifierValue(BeanType bean)
           
 int GenericQueryManager.getIdentifierValue(BeanType bean)
          Get the value of the property defined as the identifier.
 int GenericQueryManagerDelegate.getIdentifierValue(T bean)
           
 CreateTable GenericQueryManager.getInstallTableQuery()
          Get the query that would be used to install the table.
 CreateTable GenericQueryManagerDelegate.getInstallTableQuery()
           
static
<BeanType> GenericQueryManager<BeanType>
GenericQueryManagerFactory.getInstance(Datasource datasource, Class<BeanType> beanClass)
           
static
<BeanType> GenericQueryManager<BeanType>
GenericQueryManagerFactory.getInstance(Datasource datasource, Class<BeanType> beanClass, String tableName)
           
 int GenericQueryManager.insert(BeanType bean)
          Insert a bean in the database.
 int GenericQueryManagerDelegate.insert(T bean)
           
 void GenericQueryManager.install()
          Install the database structure into the database.
 void GenericQueryManagerDelegate.install()
           
 void GenericQueryManager.install(CreateTable query)
          Install the database structure into the database using a custom query.
 void GenericQueryManagerDelegate.install(CreateTable query)
           
 void GenericQueryManager.remove()
          Remove the database structure
 void GenericQueryManagerDelegate.remove()
           
 List<BeanType> GenericQueryManager.restore()
          Restore all the beans persisted under this manager.
 List<T> GenericQueryManagerDelegate.restore()
           
 boolean GenericQueryManager.restore(DbRowProcessor rowProcessor)
          Restore all beans using the row processor provided.
 boolean GenericQueryManagerDelegate.restore(DbRowProcessor rowProcessor)
           
 BeanType GenericQueryManager.restore(int objectId)
          Restore a single bean using the identifier.
 T GenericQueryManagerDelegate.restore(int objectId)
           
 List<BeanType> GenericQueryManager.restore(RestoreQuery query)
          Restore a list of beans that match the provided RestoreQuery.
 List<T> GenericQueryManagerDelegate.restore(RestoreQuery query)
           
 boolean GenericQueryManager.restore(RestoreQuery query, DbRowProcessor rowProcessor)
          Restore a list of beans that match the provided RestoreQuery and process with the DbRowProcessor.
 boolean GenericQueryManagerDelegate.restore(RestoreQuery query, DbRowProcessor rowProcessor)
           
 BeanType GenericQueryManager.restoreFirst(RestoreQuery query)
          Restore the first bean that matches the RestoreQuery.
 T GenericQueryManagerDelegate.restoreFirst(RestoreQuery query)
           
 int GenericQueryManager.save(BeanType bean)
          Persist a bean.
 int GenericQueryManagerDelegate.save(T bean)
           
 int GenericQueryManager.update(BeanType bean)
          Update an existing bean in the database.
 int GenericQueryManagerDelegate.update(T bean)
           
 

Constructors in com.uwyn.rife.database.querymanagers.generic that throw DatabaseException
AbstractGenericQueryManager(Datasource datasource, Class<BeanType> beanClass, String primaryKey)
           
 

Uses of DatabaseException in com.uwyn.rife.database.querymanagers.generic.exceptions
 

Subclasses of DatabaseException in com.uwyn.rife.database.querymanagers.generic.exceptions
 class IncompatibleManyToOneValueTypeException
           
 class IncompatibleValidationTypeException
           
 class MissingDefaultConstructorException
           
 class MissingManyToManyTypeInformationException
           
 class MissingManyToOneAssociationTypeInformationException
           
 class MissingManyToOneMainPropertyException
           
 class UnsupportedManyToManyPropertyTypeException
           
 class UnsupportedManyToManyValueTypeException
           
 class UnsupportedManyToOneAssociationPropertyTypeException
           
 class UnsupportedManyToOneValueTypeException
           
 

Uses of DatabaseException in com.uwyn.rife.database.types
 

Methods in com.uwyn.rife.database.types that throw DatabaseException
 Object SqlConversion.getTypedObject(ResultSet resultSet, int columnNumber, int type, Class targetType)
           
 void SqlConversion.setTypedParameter(DbPreparedStatement statement, int parameterIndex, Class targetType, String name, Object value, Constrained constrained)
           
 

Uses of DatabaseException in com.uwyn.rife.mail.exceptions
 

Constructors in com.uwyn.rife.mail.exceptions with parameters of type DatabaseException
InstallMailQueueErrorException(DatabaseException cause)
           
RemoveMailQueueErrorException(DatabaseException cause)
           
 

Uses of DatabaseException in com.uwyn.rife.scheduler.taskmanagers.exceptions
 

Constructors in com.uwyn.rife.scheduler.taskmanagers.exceptions with parameters of type DatabaseException
ActivateTaskErrorException(int id, DatabaseException cause)
           
AddTaskErrorException(Task task, DatabaseException cause)
           
DesactivateTaskErrorException(int id, DatabaseException cause)
           
GetScheduledTasksErrorException(DatabaseException cause)
           
GetTaskErrorException(int id, DatabaseException cause)
           
GetTaskIdErrorException(DatabaseException cause)
           
GetTasksToProcessErrorException(DatabaseException cause)
           
InstallTasksErrorException(DatabaseException cause)
           
RemoveTaskErrorException(int id, DatabaseException cause)
           
RemoveTasksErrorException(DatabaseException cause)
           
UpdateTaskErrorException(Task task, DatabaseException cause)
           
 

Uses of DatabaseException in com.uwyn.rife.scheduler.taskoptionmanagers.exceptions
 

Constructors in com.uwyn.rife.scheduler.taskoptionmanagers.exceptions with parameters of type DatabaseException
GetTaskoptionErrorException(int taskId, String name, DatabaseException cause)
           
GetTaskoptionsErrorException(int taskId, DatabaseException cause)
           
InstallTaskoptionsErrorException(DatabaseException cause)
           
RemoveTaskoptionErrorException(int taskId, String name, DatabaseException cause)
           
RemoveTaskoptionsErrorException(DatabaseException cause)
           
 



Copyright © 2001-2007 Uwyn sprl/bvba. All Rights Reserved.