public class ResultSetTest extends BaseTestCase
BaseTestCase.MockConnectionConfigurationconn, dbClass, dbName, dbUrl, isOpenSSL, mainConnectionUrl, pstmt, rs, serverVersion, stmt, timeZoneFreeDbUrl| Constructor and Description |
|---|
ResultSetTest() |
| Modifier and Type | Method and Description |
|---|---|
private void |
testDateTimeRetrieval_internal(java.sql.Connection c) |
void |
testDateTimeRetrieval()
Date and time retrieval tests with and without ssps.
|
void |
testNonUpdResultSetUpdateObject()
Test for ResultSet.updateObject(), non-updatable ResultSet behavior.
|
void |
testPadding() |
private void |
testPaddingForConnection(java.sql.Connection paddedConn,
int numChars,
java.lang.StringBuilder selectBuf) |
void |
testUpdateForReadOnlyResultSet()
Test exceptions thrown when trying to update a read-only result set.
|
void |
testUpdResultSetUpdateObjectAndNewSupportedTypes()
Test for (Updatable)ResultSet.[update|get]Object().
|
void |
testUpdResultSetUpdateObjectAndNewUnsupportedTypes()
Test for (Updatable)ResultSet.updateObject(), unsupported SQL types TIME_WITH_TIMEZONE, TIMESTAMP_WITH_TIMEZONE and REF_CURSOR.
|
void |
testWarningOnTimestampTruncation() |
appendRequiredProperties, assertByteArrayEquals, assertConnectionsHistory, assertEqualsFSAware, assertNonSecureConnection, assertResultSetLength, assertResultSetsEqual, assertSecureConnection, assertSecureConnection, assertSessionStatusEquals, assertThrows, assertThrows, assertThrows, assertThrows, cleanupTempFiles, createDatabase, createDatabase, createFunction, createFunction, createProcedure, createProcedure, createSchemaObject, createSchemaObject, createTable, createTable, createTable, createTable, createUser, createUser, createView, createView, currentTimeMillis, dropDatabase, dropDatabase, dropFunction, dropFunction, dropProcedure, dropProcedure, dropSchemaObject, dropSchemaObject, dropTable, dropTable, dropUser, dropUser, dropView, dropView, fillPrimitiveDefaults, getConnectionWithProps, getConnectionWithProps, getConnectionWithProps, getConnectionWithProps, getEncodedHostFromTestsuiteUrl, getEncodedHostPortPairFromTestsuiteUrl, getFailoverConnection, getFailoverConnection, getHostFreePropertiesFromTestsuiteUrl, getHostFreePropertiesFromTestsuiteUrl, getHostFromTestsuiteUrl, getInstanceNumber, getLoadBalancedConnection, getLoadBalancedConnection, getLoadBalancedConnection, getMysqlVariable, getMysqlVariable, getNewConnection, getNoDbUrl, getPort, getPortFreeHostname, getPortFromTestsuiteUrl, getPropertiesFromTestsuiteUrl, getPropertiesFromUrl, getRowCount, getSingleIndexedValueWithQuery, getSingleIndexedValueWithQuery, getSingleValue, getSingleValueWithQuery, getSourceReplicaReplicationConnection, getSourceReplicaReplicationConnection, getSourceReplicaUrl, getSourceReplicaUrl, getUnreliableFailoverConnection, getUnreliableFailoverConnection, getUnreliableLoadBalancedConnection, getUnreliableLoadBalancedConnection, getUnreliableMultiHostConnection, getUnreliableReplicationConnection, getUnreliableReplicationConnection, getUnreliableReplicationConnection, isClassAvailable, isCommunityEdition, isEnterpriseEdition, isMysqlRunningLocally, isRunningOnJRockit, isServerRunningOnWindows, isSysPropDefined, logDebug, newTempBinaryFile, randomString, removeHostRelatedProps, removeSqlMode, runLongTests, setUpBase, supportsLoadLocalInfile, supportsTestCachingSha2PasswordKeys, supportsTestCertificates, supportsTestSha256PasswordKeys, supportsTimeZoneNames, supportsTLSv1_2, tearDownBase, versionMeetsMinimum, versionMeetsMinimum@Test
public void testPadding()
throws java.lang.Exception
java.lang.Exception@Test
private void testPaddingForConnection(java.sql.Connection paddedConn,
int numChars,
java.lang.StringBuilder selectBuf)
throws java.sql.SQLException
java.sql.SQLException@Test
public void testWarningOnTimestampTruncation()
throws java.sql.SQLException
java.sql.SQLException@Test
public void testDateTimeRetrieval()
throws java.lang.Exception
java.lang.Exception@Test
private void testDateTimeRetrieval_internal(java.sql.Connection c)
throws java.lang.Exception
java.lang.Exception@Test
public void testNonUpdResultSetUpdateObject()
throws java.lang.Exception
java.lang.Exception@Test
public void testUpdResultSetUpdateObjectAndNewSupportedTypes()
throws java.lang.Exception
java.lang.Exception@Test
public void testUpdResultSetUpdateObjectAndNewUnsupportedTypes()
throws java.sql.SQLException
java.sql.SQLException@Test
public void testUpdateForReadOnlyResultSet()
throws java.sql.SQLException
java.sql.SQLException