public class LegacyPreparedStatementTest extends JdbcTestBase
JdbcTestBase.ModelAndSchema, JdbcTestBase.TestDataConnection
DrillTest.MemWatcher
watcher
c, dirTestWatcher, optionManager
logOutcome, objectMapper, REPEAT_RULE, thrownException, TIMEOUT
Constructor and Description |
---|
LegacyPreparedStatementTest() |
Modifier and Type | Method and Description |
---|---|
static void |
setUpConnection() |
static void |
tearDownConnection() |
void |
testExecuteQueryBasicCaseWorks()
Tests that basic executeQuery() (with query statement) works.
|
void |
testParamSettingWhenNoParametersIndexSaysUnsupported()
Tests that "not supported" has priority over possible "no parameters"
check.
|
void |
testParamSettingWhenUnsupportedTypeSaysUnsupported()
Tests that "not supported" has priority over possible "type not supported"
check.
|
changeSchema, changeSchemaIfSupplied, connect, connect, connect, getDefaultProperties, reset, setUpTestCase, tearDownTestCase, testJdbcTestConnectionResettingCompatibility, toString, toString, withFull, withModel, withNoDefaultSchema
clear, getLocalFileSystem, mockDrillbitContext, mockUsDateFormatSymbols, mockUtcDateTimeZone, parseExpr, setupOptionManager
escapeJsonString, finishDrillTest, initDrillTest
public static void setUpConnection() throws SQLException
SQLException
public static void tearDownConnection() throws SQLException
SQLException
public void testExecuteQueryBasicCaseWorks() throws SQLException
SQLException
public void testParamSettingWhenNoParametersIndexSaysUnsupported() throws SQLException
SQLException
public void testParamSettingWhenUnsupportedTypeSaysUnsupported() throws SQLException
SQLException
Copyright © 2021 The Apache Software Foundation. All rights reserved.