Logo Search packages:      
Sourcecode: mysql-connector-java version File versions

com::mysql::jdbc::jdbc2::optional::MysqlConnectionPoolDataSource Class Reference

Inheritance diagram for com::mysql::jdbc::jdbc2::optional::MysqlConnectionPoolDataSource:

com::mysql::jdbc::jdbc2::optional::MysqlDataSource com::mysql::jdbc::ConnectionProperties

List of all members.


Detailed Description

This class is used to obtain a physical connection and instantiate and return a MysqlPooledConnection. J2EE application servers map client calls to dataSource.getConnection to this class based upon mapping set within deployment descriptor. This class extends MysqlDataSource.

See also:
javax.sql.PooledConnection

javax.sql.ConnectionPoolDataSource

org.gjt.mm.mysql.MysqlDataSource

Author:
Todd Wolff <todd.wolff_at_prodigy.net>

Definition at line 45 of file MysqlConnectionPoolDataSource.java.


Public Member Functions

String exposeAsXml () throws SQLException
boolean getAllowLoadLocalInfile ()
boolean getAllowMultiQueries ()
boolean getAllowUrlInLocalInfile ()
boolean getAlwaysSendSetIsolation ()
boolean getAutoDeserialize ()
boolean getAutoReconnectForPools ()
boolean getCacheCallableStatements ()
boolean getCachePreparedStatements ()
boolean getCacheResultSetMetadata ()
boolean getCacheServerConfiguration ()
int getCallableStatementCacheSize ()
boolean getCapitalizeTypeNames ()
String getCharacterSetResults ()
boolean getClobberStreamingResults ()
java.sql.Connection getConnection (String userID, String pass) throws SQLException
java.sql.Connection getConnection () throws SQLException
String getConnectionCollation ()
int getConnectTimeout ()
boolean getContinueBatchOnError ()
String getDatabaseName ()
boolean getDontTrackOpenResources ()
boolean getDumpQueriesOnException ()
boolean getDynamicCalendars ()
boolean getElideSetAutoCommits ()
boolean getEmulateLocators ()
boolean getEmulateUnsupportedPstmts ()
boolean getEnablePacketDebug ()
boolean getExplainSlowQueries ()
boolean getFailOverReadOnly ()
boolean getGatherPerformanceMetrics ()
boolean getHoldResultsOpenOverStatementClose ()
boolean getIgnoreNonTxTables ()
int getInitialTimeout ()
boolean getInteractiveClient ()
boolean getIsInteractiveClient ()
boolean getJdbcCompliantTruncation ()
String getLogger ()
String getLoggerClassName ()
int getLoginTimeout ()
boolean getLogSlowQueries ()
java.io.PrintWriter getLogWriter ()
int getMaxQuerySizeToLog ()
int getMaxReconnects ()
int getMaxRows ()
int getMetadataCacheSize ()
boolean getNoDatetimeStringSync ()
int getPacketDebugBufferSize ()
boolean getParanoid ()
boolean getPedantic ()
synchronized PooledConnection getPooledConnection (String s, String s1) throws SQLException
synchronized PooledConnection getPooledConnection () throws SQLException
int getPort ()
int getPortNumber ()
int getPreparedStatementCacheSize ()
int getPreparedStatementCacheSqlLimit ()
boolean getProfileSql ()
boolean getProfileSQL ()
String getPropertiesTransform ()
int getQueriesBeforeRetryMaster ()
boolean getReconnectAtTxEnd ()
Reference getReference () throws NamingException
boolean getRelaxAutoCommit ()
int getReportMetricsIntervalMillis ()
boolean getRequireSSL ()
boolean getRollbackOnPooledClose ()
boolean getRoundRobinLoadBalance ()
boolean getRunningCTS13 ()
int getSecondsBeforeRetryMaster ()
String getServerName ()
String getServerTimezone ()
int getSlowQueryThresholdMillis ()
String getSocketFactoryClassName ()
int getSocketTimeout ()
boolean getStrictFloatingPoint ()
boolean getStrictUpdates ()
boolean getTinyInt1isBit ()
boolean getTraceProtocol ()
String getUrl ()
String getURL ()
boolean getUseCompression ()
boolean getUseFastIntParsing ()
boolean getUseHostsInPrivileges ()
boolean getUseLocalSessionState ()
boolean getUseNewIo ()
boolean getUseOldUTF8Behavior ()
boolean getUseOnlyServerErrorMessages ()
String getUser ()
boolean getUseReadAheadInput ()
boolean getUseServerPreparedStmts ()
boolean getUseSqlStateCodes ()
boolean getUseSSL ()
boolean getUseStreamLengthsInPrepStmts ()
boolean getUseTimezone ()
boolean getUseUltraDevWorkAround ()
boolean getUseUnbufferedInput ()
boolean getUseUnicode ()
boolean getUseUsageAdvisor ()
String getZeroDateTimeBehavior ()
void setAllowLoadLocalInfile (boolean property)
void setAllowMultiQueries (boolean property)
void setAllowUrlInLocalInfile (boolean flag)
void setAlwaysSendSetIsolation (boolean flag)
void setAutoDeserialize (boolean flag)
void setAutoReconnect (boolean flag)
void setAutoReconnectForConnectionPools (boolean property)
void setAutoReconnectForPools (boolean flag)
void setCacheCallableStatements (boolean flag)
void setCachePreparedStatements (boolean flag)
void setCacheResultSetMetadata (boolean property)
void setCacheServerConfiguration (boolean flag)
void setCallableStatementCacheSize (int size)
void setCapitalizeDBMDTypes (boolean property)
void setCapitalizeTypeNames (boolean flag)
void setCharacterEncoding (String encoding)
void setCharacterSetResults (String characterSet)
void setClobberStreamingResults (boolean flag)
void setConnectionCollation (String collation)
void setConnectTimeout (int timeoutMs)
void setContinueBatchOnError (boolean property)
void setDatabaseName (String dbName)
void setDetectServerPreparedStmts (boolean property)
void setDontTrackOpenResources (boolean flag)
void setDumpQueriesOnException (boolean flag)
void setDynamicCalendars (boolean flag)
void setElideSetAutoCommits (boolean flag)
void setEmulateLocators (boolean property)
void setEmulateUnsupportedPstmts (boolean flag)
void setEnablePacketDebug (boolean flag)
void setEncoding (String property)
void setExplainSlowQueries (boolean flag)
void setFailOverReadOnly (boolean flag)
void setGatherPerformanceMetrics (boolean flag)
void setHoldResultsOpenOverStatementClose (boolean flag)
void setIgnoreNonTxTables (boolean property)
void setInitialTimeout (int property)
void setIsInteractiveClient (boolean property)
void setJdbcCompliantTruncation (boolean flag)
void setLogger (String property)
void setLoggerClassName (String className)
void setLoginTimeout (int seconds) throws SQLException
void setLogSlowQueries (boolean flag)
void setLogWriter (PrintWriter output) throws SQLException
void setMaxQuerySizeToLog (int sizeInBytes)
void setMaxReconnects (int property)
void setMaxRows (int property)
void setMetadataCacheSize (int value)
void setNoDatetimeStringSync (boolean flag)
void setPacketDebugBufferSize (int size)
void setParanoid (boolean property)
void setPassword (String pass)
void setPedantic (boolean property)
void setPort (int p)
void setPortNumber (int p)
void setPreparedStatementCacheSize (int cacheSize)
void setPreparedStatementCacheSqlLimit (int cacheSqlLimit)
void setProfileSql (boolean property)
void setProfileSQL (boolean flag)
void setPropertiesTransform (String value)
void setPropertiesViaRef (Reference ref) throws SQLException
void setQueriesBeforeRetryMaster (int property)
void setReconnectAtTxEnd (boolean property)
void setRelaxAutoCommit (boolean property)
void setReportMetricsIntervalMillis (int millis)
void setRequireSSL (boolean property)
void setRollbackOnPooledClose (boolean flag)
void setRoundRobinLoadBalance (boolean flag)
void setRunningCTS13 (boolean flag)
void setSecondsBeforeRetryMaster (int property)
void setServerName (String serverName)
void setServerTimezone (String property)
void setSlowQueryThresholdMillis (int millis)
void setSocketFactoryClassName (String property)
void setSocketTimeout (int property)
void setStrictFloatingPoint (boolean property)
void setStrictUpdates (boolean property)
void setTinyInt1isBit (boolean flag)
void setTraceProtocol (boolean flag)
void setUrl (String url)
void setURL (String url)
void setUseCompression (boolean property)
void setUseFastIntParsing (boolean flag)
void setUseHostsInPrivileges (boolean property)
void setUseLocalSessionState (boolean flag)
void setUseNewIo (boolean property)
void setUseOldUTF8Behavior (boolean flag)
void setUseOnlyServerErrorMessages (boolean flag)
void setUser (String userID)
void setUseReadAheadInput (boolean flag)
void setUseServerPreparedStmts (boolean flag)
void setUseSqlStateCodes (boolean flag)
void setUseSSL (boolean property)
void setUseStreamLengthsInPrepStmts (boolean property)
void setUseTimezone (boolean property)
void setUseUltraDevWorkAround (boolean property)
void setUseUnbufferedInput (boolean flag)
void setUseUnicode (boolean flag)
void setUseUsageAdvisor (boolean useUsageAdvisorFlag)
void setZeroDateTimeBehavior (String behavior)

Protected Member Functions

DriverPropertyInfo[] exposeAsDriverPropertyInfoInternal (Properties info, int slotsToReserve) throws SQLException
Properties exposeAsProperties (Properties info) throws SQLException
boolean getAllowNanAndInf ()
java.sql.Connection getConnection (Properties props) throws SQLException
String getEncoding ()
boolean getHighAvailability ()
void initializeFromRef (Reference ref) throws SQLException
void initializeProperties (Properties info) throws SQLException
void postInitialization () throws SQLException
void setAllowNanAndInf (boolean flag)
void setHighAvailability (boolean property)
void storeToRef (Reference ref) throws SQLException
boolean useUnbufferedInput ()

Static Protected Member Functions

static DriverPropertyInfo[] exposeAsDriverPropertyInfo (Properties info, int slotsToReserve) throws SQLException

Protected Attributes

String databaseName = null
String encoding = null
boolean explicitUrl = false
String hostName = null
PrintWriter logWriter = null
String password = null
int port = 3306
String profileSql = "false"
String url = null
String user = null

Static Protected Attributes

static com.mysql.jdbc.Driver mysqlDriver = null
static final String ZERO_DATETIME_BEHAVIOR_CONVERT_TO_NULL = "convertToNull"
static final String ZERO_DATETIME_BEHAVIOR_EXCEPTION = "exception"
static final String ZERO_DATETIME_BEHAVIOR_ROUND = "round"

Static Package Functions

 [static initializer]

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index