package

com.atlassian.jira.database

Interfaces

ConnectionFunction<R> A callback interface that gives access to a managed database connection. 
DatabaseAccessor Provides access to database connections from the Database Connection Pool. 
DatabaseConnection A handle to a Database Connection obtained from JIRA's connection pool. 
DatabaseSystemTimeReader Reads the current system time from the database. 
DatabaseSystemTimeReaderFactory Factory for choosing an appropriate DatabaseSystemTimeReader for the current database type. 
DbConnection A handle to a Database Connection obtained from JIRA's connection pool. 
DbConnectionManager Provides access to database connections from the Database Connection Pool. 
QueryCallback<T> A callback for DB operations that gets given a managed database connection and returns results. 
SqlCallback A callback mechanism that delivers a managed DB connection. 

Classes

AbstractDelegatingConnection Wraps a DB connection and delegates all calls to that underlying connection. 
DatabaseAccessorImpl  
DatabaseCollationReader  
DatabaseSchema Exposes the Database schema as configured in dbconfig.xml 
DatabaseUtil  
DbConnectionImpl  
DbConnectionManagerImpl  
DefaultDatabaseSystemTimeReaderFactory Default database system time reader factory implementation that creates an appropriate database system time reader based on the database type read from the currently active connection factory. 
DuckTypeConnection Mocks out some of PreparedStatement for use as a Duck Type proxy. 
DuckTypePreparedStatement Mocks out some of PreparedStatement for use as a Duck Type proxy. 
DuckTypeResultSet Mocks out some of ResultSet for use as a Duck Type proxy. 
IdGeneratingSQLInsertClause Extended SQLInsertClause supporting Generation of OfBiz sequence values. 
MockDbConnectionManager  
ResultRow  
ResultRowBuilder Helps you build a list of ResultRow objects for use in MockDbConnectionManager. 
SqlPredicates Additional query predicates not provided directly by QueryDSL  
SqlStatementTimeReader  
SqlStoredProcedureTimeReader  
SupportedCollations JIRA officially supports a small number of database collations. 

Enums

DatabaseVendor An enum representing the supported database vendors that JIRA can connect to.