Home
last modified time | relevance | path

Searched refs:createStatement (Results 1 – 19 of 19) sorted by relevance

/libcore/luni/src/test/java/libcore/java/sql/
DOldStatementTest.java34 st = conn.createStatement(); in testAddBatch()
50 st = conn.createStatement(); in testAddBatch()
64 st = conn.createStatement(); in testAddBatch()
80 st = conn.createStatement(); in testClearWarnings()
91 st = conn.createStatement(); in testClearWarnings()
110 st = conn.createStatement(); in testGetWarnings()
167 st = conn.createStatement(); in testClearBatch()
186 st = conn.createStatement(); in testClearBatch()
200 st = conn.createStatement(); in testClearBatch()
231 st = conn.createStatement(); in testExecute()
[all …]
DOldConnectionTest.java33 Statement statement = conn.createStatement(); in testCreateStatement()
55 st = conn.createStatement(ResultSet.TYPE_FORWARD_ONLY, in testCreateStatement_int_int()
75 st = conn.createStatement(ResultSet.TYPE_FORWARD_ONLY, in testCreateStatement_int_int()
96 st = conn.createStatement(ResultSet.TYPE_FORWARD_ONLY, in testCreateStatement_int_int()
118 st = conn.createStatement(ResultSet.TYPE_SCROLL_INSENSITIVE, in testCreateStatement_int_int()
141 st = conn.createStatement(ResultSet.TYPE_SCROLL_SENSITIVE, in testCreateStatement_int_int()
167 conn.createStatement(ResultSet.TYPE_SCROLL_SENSITIVE, -1); in testCreateStatement_int_int()
175 conn.createStatement(Integer.MIN_VALUE, ResultSet.CONCUR_READ_ONLY); in testCreateStatement_int_int()
186 st = conn.createStatement(ResultSet.TYPE_FORWARD_ONLY, in testCreateStatement_int_int_int()
205 conn.createStatement(ResultSet.TYPE_FORWARD_ONLY, in testCreateStatement_int_int_int()
[all …]
DOldPreparedStatementTest.java86 st = conn.createStatement(); in setUp()
101 st = conn.createStatement(); in tearDown()
128 st = conn.createStatement(); in testAddBatch()
206 st = conn.createStatement(); in testExecute()
220 conn.createStatement().execute("drop table if exists hutch"); in testExecute()
492 st = conn.createStatement(); in testSetInt()
508 st = conn.createStatement(); in testSetInt()
548 st = conn.createStatement(); in testSetLong()
562 st = conn.createStatement(); in testSetLong()
604 st = conn.createStatement(); in testSetFloat()
[all …]
DOldSQLTest.java56 st = conn.createStatement(); in tearDown()
79 st = conn.createStatement(); in createZoo()
DOldResultSetMetaDataTest.java38 st = conn.createStatement(); in setUp()
241 st1 = conn.createStatement(); in testGetTableName()
286 st2 = conn.createStatement(); in testGetPrecision()
292 st3 = conn.createStatement(); in testGetPrecision()
352 Statement st = conn.createStatement(); in testGetScale()
DOldResultSetTest.java41 stForward = conn.createStatement(ResultSet.TYPE_FORWARD_ONLY, in setUp()
48 stForward = conn.createStatement(ResultSet.TYPE_FORWARD_ONLY, in setUp()
131 Statement s = conn.createStatement(); in testClose()
DOldResultSetGetterTests.java218 st = conn.createStatement(); in setUp()
270 st = conn.createStatement(); in testGetBytesIntVarbinary()
277 stQuery = conn.createStatement(); in testGetBytesIntVarbinary()
303 st = conn.createStatement(); in testGetBytesIntBinary()
309 stQuery = conn.createStatement(); in testGetBytesIntBinary()
352 st = conn.createStatement(); in testGetBytesStringVarbinary()
359 stQuery = conn.createStatement(); in testGetBytesStringVarbinary()
385 st = conn.createStatement(); in testGetBytesStringBinary()
391 stQuery = conn.createStatement(); in testGetBytesStringBinary()
/libcore/luni/src/test/java/tests/support/
DDatabaseCreator.java257 Statement statement = conn.createStatement(); in fillParentTable()
266 Statement statement = conn.createStatement(); in fillFKStrictTable()
276 Statement statement = conn.createStatement(); in fillFKCascadeTable()
286 Statement statement = conn.createStatement(); in fillSimpleTable1()
293 Statement statement = conn.createStatement(); in fillSimpleTable3()
301 Statement statement = conn.createStatement(); in fillSalesPeopleTable()
312 Statement statement = conn.createStatement(); in fillCustomersTable()
324 Statement statement = conn.createStatement(); in fillOrdersTable()
340 Statement statement = conn.createStatement(); in fillTestTable1()
352 Statement statement = conn.createStatement(); in fillTestTable2()
[all …]
/libcore/test-rules/src/main/java/libcore/junit/util/
DSwitchTargetSdkVersionRule.java98 return createStatement(statement, targetSdkVersion.value()); in apply()
108 protected abstract Statement createStatement(Statement statement, int targetSdkVersion); in createStatement() method in SwitchTargetSdkVersionRule
132 protected Statement createStatement(Statement statement, int targetSdkVersion) { in createStatement() method in SwitchTargetSdkVersionRule.SwitchVMRuntimeUsingReflection
156 protected Statement createStatement(Statement statement, int targetSdkVersion) {
/libcore/luni/src/test/java/tests/java/sql/
DMultiThreadAccessTest.java52 statement = conn.createStatement(); in setUp()
159 Statement statement = conn.createStatement(); in test_MultipleOperationsInSeveralTables()
207 Statement statement = conn.createStatement(); in test_MultipleUpdatesInOneTables()
242 Statement statement = conn.createStatement(); in createTask1()
274 Statement statement = conn.createStatement();
325 Statement statement = conn.createStatement();
353 Statement statement = conn.createStatement();
373 Statement statement = conn.createStatement();
398 Statement statement = conn.createStatement();
422 Statement statement = conn.createStatement();
DDeleteFunctionalityTest.java45 statement = conn.createStatement(); in setUp()
DInsertFunctionalityTest.java43 statement = conn.createStatement(); in setUp()
DUpdateFunctionalityTest2.java47 statement = conn.createStatement(); in setUp()
DDatabaseMetaDataTest.java67 statement = conn.createStatement(); in setUp()
68 statementForward = conn.createStatement( in setUp()
81 statement = conn.createStatement(); in tearDown()
1849 Statement s = conn.createStatement(); in crossCheckGetColumnsAndResultSetMetaData()
2463 Statement st = conn.createStatement(); in executeEscaped()
DUpdateFunctionalityTest.java47 statement = conn.createStatement(); in setUp()
DStressTest.java46 statement = conn.createStatement(); in setUp()
DDatabaseMetaDataNotSupportedTest.java62 statement = conn.createStatement(); in setUp()
73 statement = conn.createStatement(); in tearDown()
DSelectFunctionalityTest.java57 statement = conn.createStatement(); in setUp()
/libcore/ojluni/src/main/java/java/sql/
DConnection.java105 Statement createStatement() throws SQLException; in createStatement() method
533 Statement createStatement(int resultSetType, int resultSetConcurrency) in createStatement() method
812 Statement createStatement(int resultSetType, int resultSetConcurrency, in createStatement() method