Home
last modified time | relevance | path

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

/libcore/luni/src/test/java/tests/sql/
DStatementTest.java53 st = conn.createStatement(); in testAddBatch()
72 st = conn.createStatement(); in testAddBatch()
86 st = conn.createStatement(); in testAddBatch()
111 st = conn.createStatement(); in testClearWarnings()
122 st = conn.createStatement(); in testClearWarnings()
154 st = conn.createStatement(); in testGetWarnings()
224 st = conn.createStatement(); in testClearBatch()
246 st = conn.createStatement(); in testClearBatch()
260 st = conn.createStatement(); in testClearBatch()
303 st = conn.createStatement(); in testExecute()
[all …]
DConnectionTest.java57 statement = conn.createStatement(); in testCreateStatement()
94 st = conn.createStatement(ResultSet.TYPE_FORWARD_ONLY, in testCreateStatement_int_int()
117 st = conn.createStatement(ResultSet.TYPE_FORWARD_ONLY, in testCreateStatement_int_int()
141 st = conn.createStatement(ResultSet.TYPE_FORWARD_ONLY, in testCreateStatement_int_int()
166 st = conn.createStatement(ResultSet.TYPE_SCROLL_INSENSITIVE, in testCreateStatement_int_int()
192 st = conn.createStatement(ResultSet.TYPE_SCROLL_SENSITIVE, in testCreateStatement_int_int()
221 conn.createStatement(ResultSet.TYPE_SCROLL_SENSITIVE, -1); in testCreateStatement_int_int()
229 conn.createStatement(Integer.MIN_VALUE, ResultSet.CONCUR_READ_ONLY); in testCreateStatement_int_int()
250 st = conn.createStatement(ResultSet.TYPE_FORWARD_ONLY, in testCreateStatement_int_int_int()
275 conn.createStatement(ResultSet.TYPE_FORWARD_ONLY, in testCreateStatement_int_int_int()
[all …]
DSQLTest.java64 st = conn.createStatement(); in tearDown()
90 st = conn.createStatement(); in createZoo()
113 st = conn.createStatement(); in createProcedure()
DPreparedStatementTest.java96 st = conn.createStatement(); in setUp()
113 st = conn.createStatement(); in tearDown()
151 st = conn.createStatement(); in testAddBatch()
242 st = conn.createStatement(); in testExecute()
258 conn.createStatement().execute("drop table if exists hutch"); in testExecute()
615 st = conn.createStatement(); in testSetInt()
633 st = conn.createStatement(); in testSetInt()
687 st = conn.createStatement(); in testSetLong()
705 st = conn.createStatement(); in testSetLong()
765 st = conn.createStatement(); in testSetFloat()
[all …]
DResultSetMetaDataTest.java46 st = conn.createStatement(); in setUp()
320 st1 = conn.createStatement(); in testGetTableName()
374 st2 = conn.createStatement(); in testGetPrecision()
380 st3 = conn.createStatement(); in testGetPrecision()
446 Statement st = conn.createStatement(); in testGetScale()
DResultSetTest.java56 stForward = conn.createStatement(ResultSet.TYPE_FORWARD_ONLY, in setUp()
63 stForward = conn.createStatement(ResultSet.TYPE_FORWARD_ONLY, in setUp()
244 Statement s = conn.createStatement(); in testClose()
DResultSetGetterTests.java229 st = conn.createStatement(); in setUp()
312 st = conn.createStatement(); in testGetBytesIntVarbinary()
319 stQuery = conn.createStatement(); in testGetBytesIntVarbinary()
360 st = conn.createStatement(); in testGetBytesIntBinary()
366 stQuery = conn.createStatement(); in testGetBytesIntBinary()
438 st = conn.createStatement(); in testGetBytesStringVarbinary()
445 stQuery = conn.createStatement(); in testGetBytesStringVarbinary()
487 st = conn.createStatement(); in testGetBytesStringBinary()
493 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/luni/src/test/java/tests/java/sql/
DMultiThreadAccessTest.java58 statement = conn.createStatement(); in setUp()
183 Statement statement = conn.createStatement(); in test_MultipleOperationsInSeveralTables()
237 Statement statement = conn.createStatement(); in test_MultipleUpdatesInOneTables()
272 Statement statement = conn.createStatement(); in createTask1()
304 Statement statement = conn.createStatement();
355 Statement statement = conn.createStatement();
383 Statement statement = conn.createStatement();
403 Statement statement = conn.createStatement();
428 Statement statement = conn.createStatement();
452 Statement statement = conn.createStatement();
DQueryTimeoutTest.java150 statement = connection.createStatement(); in exec()
594 Statement stmt = connections[0].createStatement(); in testTimeoutWithExecuteUpdate()
613 Statement stmt = connections[0].createStatement(); in testRememberTimeoutValue()
DDeleteFunctionalityTest.java49 statement = conn.createStatement(); in setUp()
DInsertFunctionalityTest.java50 statement = conn.createStatement(); in setUp()
DStressTest.java52 statement = conn.createStatement(); in setUp()
DUpdateFunctionalityTest2.java52 statement = conn.createStatement(); in setUp()
DDatabaseMetaDataTest.java72 statement = conn.createStatement(); in setUp()
73 statementForward = conn.createStatement( in setUp()
86 statement = conn.createStatement(); in tearDown()
2183 Statement s = conn.createStatement(); in crossCheckGetColumnsAndResultSetMetaData()
2803 Statement st = conn.createStatement(); in executeEscaped()
DUpdateFunctionalityTest.java53 statement = conn.createStatement(); in setUp()
DSelectFunctionalityTest.java62 statement = conn.createStatement(); in setUp()
DDatabaseMetaDataNotSupportedTest.java66 statement = conn.createStatement(); in setUp()
77 statement = conn.createStatement(); in tearDown()
/libcore/luni/src/main/java/java/sql/
DConnection.java137 public Statement createStatement() throws SQLException; in createStatement() method
163 public Statement createStatement(int resultSetType, int resultSetConcurrency) in createStatement() method
198 public Statement createStatement(int resultSetType, in createStatement() method
/libcore/luni/src/test/java/tests/SQLite/
DAbstractSqlTest.java103 firstStmt = firstConnection.createStatement(); in setUp()
105 secondStmt = secondConnection.createStatement(); in setUp()
118 firstStmt = firstConnection.createStatement(); in tearDown()
DFunctionContextTest.java50 st = conn.createStatement(); in setUp()
DDatabaseTest.java91 statement = conn.createStatement(); in setUp()
/libcore/luni/src/test/java/org/apache/harmony/sql/tests/java/sql/
DTestHelper_Connection1.java53 public Statement createStatement() throws SQLException { in createStatement() method in TestHelper_Connection1
57 public Statement createStatement(int resultSetType, in createStatement() method in TestHelper_Connection1
63 public Statement createStatement(int resultSetType, int resultSetConcurrency) in createStatement() method in TestHelper_Connection1
/libcore/sqlite-jdbc/src/main/java/SQLite/JDBC2z/
DJDBCConnection.java185 public Statement createStatement() { in createStatement() method in JDBCConnection
190 public Statement createStatement(int resultSetType, in createStatement() method in JDBCConnection
421 public Statement createStatement(int resultSetType, in createStatement() method in JDBCConnection
428 return createStatement(resultSetType, resultSetConcurrency); in createStatement()
/libcore/luni/src/test/java/com/google/coretests/
DStatsStore.java208 stmt = conn.createStatement(); in open()