Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep
B C D E F G I L M P Q R S T U V _

B

BACKSLASH - Static variable in class safejdbc.PreparedStatementLogger
 

C

CONNECTION_CLASS - Static variable in class safejdbc.TxDataSourceAdapter
 
ConnectionProvider - interface safejdbc.ConnectionProvider.
A ConnectionProvider is used by the SQLExecuter class to obtain a connection.
ConnectionProxy - class safejdbc.ConnectionProxy.
 
ConnectionProxy(Connection, LogListener) - Constructor for class safejdbc.ConnectionProxy
 
close(Statement) - Method in class safejdbc.SQLExceptionHelper
 
close(ResultSet, Statement) - Method in class safejdbc.SQLExceptionHelper
 
close(Statement) - Method in class safejdbc.SQLHelper
 
close(ResultSet, Statement) - Method in class safejdbc.SQLHelper
 

D

DataSourceAdapter - class safejdbc.DataSourceAdapter.
This class is a Adapter for DataSources to provide the ConnectionProvider interface.
DataSourceAdapter(DataSource) - Constructor for class safejdbc.DataSourceAdapter
 
doTransaction(SQL) - Method in interface safejdbc.TXCodeBlock
This method is called by the executeTX method of SQLExecuter.

E

executeTX(TXCodeBlock) - Method in class safejdbc.SQLExecuter
Use this method, to execute several database calls in a single transaction.

F

FillingCommand - interface safejdbc.FillingCommand.
This interface serves to set the parameter values of a PreparedStatement SQL string which is passed to the query or update method of SQL.
fill(PreparedStatement) - Method in interface safejdbc.FillingCommand
Implement this method to fill the parameters of the PreparedStatement
findQuestionmarks(String) - Method in class safejdbc.PreparedStatementLogger
 
forEachRow(ResultSet) - Method in class safejdbc.ResultSetIterator
This template method is called for each row of the ResultSet.

G

getConnection() - Method in interface safejdbc.ConnectionProvider
This method is called to actually give the connection
getConnection() - Method in class safejdbc.DataSourceAdapter
 
getConnection() - Method in class safejdbc.LoggingWrapper
 
getConnection() - Method in class safejdbc.SimpleConProvider
Deprecated. Don't use this class anymore. You should use SimpleConnectionProvider instead.
getConnection() - Method in class safejdbc.SimpleConnectionProvider
This method is called by the framework to yield a database connection.
getConnection() - Method in class safejdbc.TxDataSourceAdapter
 
getConnectionProxy(Connection, LogListener) - Static method in class safejdbc.ConnectionProxy
 
getPreparedStatementProxy(PreparedStatement, String, LogListener) - Static method in class safejdbc.PreparedStatementProxy
 
getStatementProxy(Statement, LogListener) - Static method in class safejdbc.StatementProxy
 

I

inform(LogListener) - Method in class safejdbc.PreparedStatementLogger
 
invoke(Object, Method, Object[]) - Method in class safejdbc.ConnectionProxy
 
invoke(Object, Method, Object[]) - Method in class safejdbc.PreparedStatementProxy
 
invoke(Object, Method, Object[]) - Method in class safejdbc.ResultSetIterator.ProtectedResultSetHandler
 
invoke(Object, Method, Object[]) - Method in class safejdbc.StatementProxy
 
invoke(Object, Method, Object[]) - Method in class safejdbc.TxDataSourceAdapter.ProxyConnectionHandler
 
isSQLExceptionOccurred() - Method in class safejdbc.SQLExceptionHelper
 
isSQLExceptionOccurred() - Method in class safejdbc.SQLHelper
 

L

LogListener - interface safejdbc.LogListener.
A LogListener is used by a LoggingWrapper.
LoggingWrapper - class safejdbc.LoggingWrapper.
If you want to log your SQL-Statements you just have to wrap your ConnectionProvider with a LoggingWrapper.
LoggingWrapper(ConnectionProvider) - Constructor for class safejdbc.LoggingWrapper
This constructor is for your convenience.
LoggingWrapper(ConnectionProvider, LogListener) - Constructor for class safejdbc.LoggingWrapper
Every SQL-Statement will be handed over to the LogListener.
log(String) - Method in interface safejdbc.LogListener
The framework will hand over all SQL statements to this method.

M

main(String[]) - Static method in class safejdbc.VersionInfo
 

P

PreparedStatementLogger - class safejdbc.PreparedStatementLogger.
 
PreparedStatementLogger(String, Map) - Constructor for class safejdbc.PreparedStatementLogger
 
PreparedStatementProxy - class safejdbc.PreparedStatementProxy.
 
PreparedStatementProxy(PreparedStatement, String, LogListener) - Constructor for class safejdbc.PreparedStatementProxy
 
p(String) - Static method in class safejdbc.VersionInfo
 
process(ResultSet) - Method in class safejdbc.ResultSetIterator
This method is called by the framework.
process(ResultSet) - Method in interface safejdbc.ResultSetProcessor
 
processSQLException() - Method in class safejdbc.SQLExceptionHelper
 
processSQLException() - Method in class safejdbc.SQLHelper
 

Q

QUESTIONMARK - Static variable in class safejdbc.PreparedStatementLogger
 
QUOTE - Static variable in class safejdbc.PreparedStatementLogger
 
query(String, ResultSetProcessor) - Method in interface safejdbc.SQL
Use this method to execute SQL-Query-Statements such as select from.
Example:
query(String, FillingCommand, ResultSetProcessor) - Method in interface safejdbc.SQL
Use this method to execute SQL-Query-Statements such as select from.
query(String, ResultSetProcessor) - Method in class safejdbc.SQLExecuter
 
query(String, FillingCommand, ResultSetProcessor) - Method in class safejdbc.SQLExecuter
 
query(String, ResultSetProcessor) - Method in class safejdbc.TXSQL
 
query(String, FillingCommand, ResultSetProcessor) - Method in class safejdbc.TXSQL
 

R

RESULTSET_CLASS - Static variable in class safejdbc.ResultSetIterator
 
ResultSetIterator - class safejdbc.ResultSetIterator.
An Implementation of the ResultSetIterator interface.
ResultSetIterator() - Constructor for class safejdbc.ResultSetIterator
 
ResultSetIterator.ProtectedResultSetHandler - class safejdbc.ResultSetIterator.ProtectedResultSetHandler.
This class uses dynamic proxy functionality to prevent calls to "next" or "close" on a ResultSet.
ResultSetIterator.ProtectedResultSetHandler(ResultSet) - Constructor for class safejdbc.ResultSetIterator.ProtectedResultSetHandler
 
ResultSetProcessor - interface safejdbc.ResultSetProcessor.
ResultSetProcessors are used to specify how a ResultSet should be handled.
replaceQuestionmarks() - Method in class safejdbc.PreparedStatementLogger
 
rollback(Connection) - Method in class safejdbc.SQLExceptionHelper
 
rollback(Connection) - Method in class safejdbc.SQLHelper
 

S

SQL - interface safejdbc.SQL.
This is the central abstraction of the JDBC library, it provides methods to execute SQL statements.
SQLExceptionHelper - class safejdbc.SQLExceptionHelper.
This class contains much of the logic used for handling various exceptions and Throwables correctly and handling ressources accordingly.
SQLExceptionHelper() - Constructor for class safejdbc.SQLExceptionHelper
 
SQLExecuter - class safejdbc.SQLExecuter.
This is probably the most important class within the SafeJDBC framework, because this class provides methods to actually access the database.
SQLExecuter(ConnectionProvider) - Constructor for class safejdbc.SQLExecuter
To create an SQLExecuter instance a ConnectionProvider is needed.
SQLHelper - class safejdbc.SQLHelper.
 
SQLHelper() - Constructor for class safejdbc.SQLHelper
 
SimpleConProvider - class safejdbc.SimpleConProvider.
Deprecated. Don't use this class anymore. You should use SimpleConnectionProvider instead.
SimpleConProvider(String, String, String, String) - Constructor for class safejdbc.SimpleConProvider
Deprecated. Don't use this class anymore. You should use SimpleConnectionProvider instead.
SimpleConProvider(String, Properties, String) - Constructor for class safejdbc.SimpleConProvider
Deprecated. Don't use this class anymore. You should use SimpleConnectionProvider instead.
SimpleConnectionProvider - class safejdbc.SimpleConnectionProvider.
This class provides JDBC connection via the JDBC 1 Driver.
SimpleConnectionProvider(String, String, String, String) - Constructor for class safejdbc.SimpleConnectionProvider
This constructor initializes the driver via separate strings.
SimpleConnectionProvider(String, Properties, String) - Constructor for class safejdbc.SimpleConnectionProvider
This constructor initializes the driver using a map containing login information.
StatementProxy - class safejdbc.StatementProxy.
This class wrapps a java.sql.Statement, so that calls to the methods execute(), executeQuery() and executeUpdate() are delegated to the LogListener.
StatementProxy(Statement, LogListener) - Constructor for class safejdbc.StatementProxy
 
safejdbc - package safejdbc
 
singleIntQuery(String) - Method in interface safejdbc.SQL
This method is a convenience method for executing a SQL query which has a single row with a single column containing a number as a result.
singleIntQuery(String, FillingCommand) - Method in interface safejdbc.SQL
This method is a convenience method for executing a SQL query which has a single row with a single column containing a number as a result.
singleIntQuery(String) - Method in class safejdbc.SQLExecuter
This method is a convenience method for executing a SQL query which has a single row with a single column containing a number as a result.
singleIntQuery(String, FillingCommand) - Method in class safejdbc.SQLExecuter
This method is a convenience method for executing a SQL query which has a single row with a single column containing a number as a result.
singleIntQuery(String) - Method in class safejdbc.TXSQL
This method is a convenience method for executing a SQL query which has a single row with a single column containing a number as a result.
singleIntQuery(String, FillingCommand) - Method in class safejdbc.TXSQL
This method is a convenience method for executing a SQL query which has a single row with a single column containing a number as a result.
sqlExceptionOccurred(SQLException) - Method in class safejdbc.SQLExceptionHelper
 
sqlExceptionOccurred(SQLException) - Method in class safejdbc.SQLHelper
 

T

TXCodeBlock - interface safejdbc.TXCodeBlock.
All code in a TXCodeBlock is performed within a single transaction.
TXSQL - class safejdbc.TXSQL.
This class is only for internal use, to provide a SQL interface, that can be used in a transactional context.
TXSQL(Connection) - Constructor for class safejdbc.TXSQL
 
TxDataSourceAdapter - class safejdbc.TxDataSourceAdapter.
Some J2EE environments (e.g.
TxDataSourceAdapter(DataSource) - Constructor for class safejdbc.TxDataSourceAdapter
 
TxDataSourceAdapter.ProxyConnectionHandler - class safejdbc.TxDataSourceAdapter.ProxyConnectionHandler.
This class uses dynamic proxy functionality to ignore calls to "commit" or "rollback" on a Connection.
TxDataSourceAdapter.ProxyConnectionHandler(Connection) - Constructor for class safejdbc.TxDataSourceAdapter.ProxyConnectionHandler
 

U

update(String) - Method in interface safejdbc.SQL
Use this method to execute modifying SQL-statements such as insert into or update.
Example:
update(String, FillingCommand) - Method in interface safejdbc.SQL
Use this method to execute modifying SQL-statements such as insert into or update, with a PreparedStatement.
update(String) - Method in class safejdbc.SQLExecuter
 
update(String, FillingCommand) - Method in class safejdbc.SQLExecuter
 
update(String) - Method in class safejdbc.TXSQL
 
update(String, FillingCommand) - Method in class safejdbc.TXSQL
 

V

VersionInfo - class safejdbc.VersionInfo.
 
VersionInfo() - Constructor for class safejdbc.VersionInfo
 

_

_classLoader - Static variable in class safejdbc.ConnectionProxy
 
_classLoader - Static variable in class safejdbc.PreparedStatementProxy
 
_classLoader - Static variable in class safejdbc.ResultSetIterator
 
_classLoader - Static variable in class safejdbc.StatementProxy
 
_classLoader - Static variable in class safejdbc.TxDataSourceAdapter
 
_connection - Variable in class safejdbc.TXSQL
 
_conprovider - Variable in class safejdbc.LoggingWrapper
 
_conprovider - Variable in class safejdbc.SQLExecuter
 
_datasource - Variable in class safejdbc.DataSourceAdapter
 
_driver - Variable in class safejdbc.SimpleConProvider
Deprecated.  
_driver - Variable in class safejdbc.SimpleConnectionProvider
 
_forbiddenMethodNames - Variable in class safejdbc.ResultSetIterator.ProtectedResultSetHandler
 
_ignoreMethodNames - Variable in class safejdbc.TxDataSourceAdapter.ProxyConnectionHandler
 
_info - Variable in class safejdbc.SimpleConProvider
Deprecated.  
_info - Variable in class safejdbc.SimpleConnectionProvider
 
_inner - Variable in class safejdbc.ConnectionProxy
 
_inner - Variable in class safejdbc.PreparedStatementProxy
 
_inner - Variable in class safejdbc.ResultSetIterator.ProtectedResultSetHandler
 
_inner - Variable in class safejdbc.StatementProxy
 
_inner - Variable in class safejdbc.TxDataSourceAdapter.ProxyConnectionHandler
 
_loglistener - Variable in class safejdbc.ConnectionProxy
 
_loglistener - Variable in class safejdbc.LoggingWrapper
 
_loglistener - Variable in class safejdbc.PreparedStatementProxy
 
_loglistener - Variable in class safejdbc.StatementProxy
 
_parameters - Variable in class safejdbc.PreparedStatementProxy
 
_parameters - Variable in class safejdbc.StatementProxy
 
_params - Variable in class safejdbc.PreparedStatementLogger
 
_params - Variable in class safejdbc.PreparedStatementProxy
 
_params - Variable in class safejdbc.StatementProxy
 
_prepSqlStmt - Variable in class safejdbc.PreparedStatementLogger
 
_sqlException - Variable in class safejdbc.SQLExceptionHelper
 
_sqlException - Variable in class safejdbc.SQLHelper
 
_sqlExceptionOccurred - Variable in class safejdbc.SQLExceptionHelper
 
_sqlExceptionOccurred - Variable in class safejdbc.SQLHelper
 
_sqlStatement - Variable in class safejdbc.PreparedStatementProxy
 
_url - Variable in class safejdbc.SimpleConProvider
Deprecated.  
_url - Variable in class safejdbc.SimpleConnectionProvider
 

B C D E F G I L M P Q R S T U V _