|
MySQL Connector/J size='-1'>5.0.8 | ||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Connection | |
com.mysql.jdbc | |
com.mysql.jdbc.jdbc2.optional | |
com.mysql.jdbc.profiler |
Uses of Connection in com.mysql.jdbc |
Fields in com.mysql.jdbc declared as Connection | |
protected Connection |
DatabaseMetaData.conn
The connection to the database |
protected Connection |
Statement.connection
The connection that created us |
protected Connection |
ResultSet.connection
The Connection instance that created us |
Methods in com.mysql.jdbc that return Connection | |
Connection |
ReplicationConnection.getCurrentConnection()
|
Connection |
ReplicationConnection.getMasterConnection()
|
Connection |
ReplicationConnection.getSlavesConnection()
|
protected Connection |
Connection.duplicate()
|
Methods in com.mysql.jdbc with parameters of type Connection | |
static java.lang.String |
CharsetMapping.getJavaEncodingForMysqlEncoding(java.lang.String mysqlEncoding,
Connection conn)
|
static java.lang.String |
CharsetMapping.getMysqlEncodingForJavaEncoding(java.lang.String javaEncodingUC,
Connection conn)
|
static byte[] |
StringUtils.getBytes(char[] c,
java.lang.String encoding,
java.lang.String serverEncoding,
boolean parserKnowsUnicode,
Connection conn)
|
static byte[] |
StringUtils.getBytes(java.lang.String s,
java.lang.String encoding,
java.lang.String serverEncoding,
boolean parserKnowsUnicode,
Connection conn)
Returns the byte[] representation of the given string using given encoding. |
static SingleByteCharsetConverter |
SingleByteCharsetConverter.getInstance(java.lang.String encodingName,
Connection conn)
Get a converter for the given encoding name |
void |
Field.setConnection(Connection conn)
DOCUMENT ME! |
boolean |
Connection.hasSameProperties(Connection c)
|
boolean |
Connection.isSameResource(Connection otherConnection)
|
static java.sql.Time |
TimeUtil.changeTimezone(Connection conn,
java.util.Calendar sessionCalendar,
java.util.Calendar targetCalendar,
java.sql.Time t,
java.util.TimeZone fromTz,
java.util.TimeZone toTz,
boolean rollForward)
Change the given times from one timezone to another |
static java.sql.Timestamp |
TimeUtil.changeTimezone(Connection conn,
java.util.Calendar sessionCalendar,
java.util.Calendar targetCalendar,
java.sql.Timestamp tstamp,
java.util.TimeZone fromTz,
java.util.TimeZone toTz,
boolean rollForward)
Change the given timestamp from one timezone to another |
Constructors in com.mysql.jdbc with parameters of type Connection | |
PreparedStatement(Connection conn,
java.lang.String catalog)
Constructor used by server-side prepared statements |
|
PreparedStatement(Connection conn,
java.lang.String sql,
java.lang.String catalog)
Constructor for the PreparedStatement class. |
|
PreparedStatement(Connection conn,
java.lang.String sql,
java.lang.String catalog,
com.mysql.jdbc.PreparedStatement.ParseInfo cachedParseInfo)
Creates a new PreparedStatement object. |
|
DatabaseMetaDataUsingInfoSchema(Connection connToSet,
java.lang.String databaseToSet)
|
|
ConnectionFeatureNotAvailableException(Connection conn,
long lastPacketSentTimeMs,
java.lang.Exception underlyingException)
|
|
DatabaseMetaData(Connection connToSet,
java.lang.String databaseToSet)
Creates a new DatabaseMetaData object. |
|
ServerPreparedStatement(Connection conn,
java.lang.String sql,
java.lang.String catalog,
int resultSetType,
int resultSetConcurrency)
Creates a new ServerPreparedStatement object. |
|
UpdatableResultSet(long updateCount,
long updateID,
Connection conn,
Statement creatorStmt)
Create a result set for an executeUpdate statement. |
|
UpdatableResultSet(java.lang.String catalog,
Field[] fields,
RowData tuples,
Connection conn,
Statement creatorStmt)
Creates a new ResultSet object. |
|
Statement(Connection c,
java.lang.String catalog)
Constructor for a Statement. |
|
CommunicationsException(Connection conn,
long lastPacketSentTimeMs,
java.lang.Exception underlyingException)
|
|
CallableStatement(Connection conn,
com.mysql.jdbc.CallableStatement.CallableStatementParamInfo paramInfo)
Creates a new CallableStatement |
|
CallableStatement(Connection conn,
java.lang.String catalog)
Creates a new CallableStatement |
|
CallableStatement(Connection conn,
java.lang.String sql,
java.lang.String catalog,
boolean isFunctionCall)
Creates a new CallableStatement |
|
ResultSet(long updateCount,
long updateID,
Connection conn,
Statement creatorStmt)
Create a result set for an executeUpdate statement. |
|
ResultSet(java.lang.String catalog,
Field[] fields,
RowData tuples,
Connection conn,
Statement creatorStmt)
Creates a new ResultSet object. |
Uses of Connection in com.mysql.jdbc.jdbc2.optional |
Constructors in com.mysql.jdbc.jdbc2.optional with parameters of type Connection | |
MysqlXAConnection(Connection connection,
boolean logXaCommands)
|
|
MysqlPooledConnection(Connection connection)
Construct a new MysqlPooledConnection and set instance variables |
|
SuspendableXAConnection(Connection connection)
|
|
ConnectionWrapper(MysqlPooledConnection mysqlPooledConnection,
Connection mysqlConnection,
boolean forXa)
Construct a new LogicalHandle and set instance variables |
Uses of Connection in com.mysql.jdbc.profiler |
Methods in com.mysql.jdbc.profiler with parameters of type Connection | |
static ProfileEventSink |
ProfileEventSink.getInstance(Connection conn)
Returns the ProfileEventSink that handles profiler events for the given connection. |
static void |
ProfileEventSink.removeInstance(Connection conn)
|
|
MySQL Connector/J size='-1'>5.0.8 | ||||||||||
PREV NEXT | FRAMES NO FRAMES |