Home
last modified time | relevance | path

Searched refs:prepareStatement (Results 1 – 11 of 11) sorted by relevance

/libcore/luni/src/test/java/libcore/java/sql/
DOldPreparedStatementTest.java116 .prepareStatement("INSERT INTO zoo VALUES (3,'Tuzik', ?);"); in testAddBatch()
149 .prepareStatement("INSERT INTO zoo VALUES (3,'Tuzik', ?);"); in testAddBatch()
162 .prepareStatement("INSERT INTO zoo VALUES (3,'Tuzik', ?);"); in testAddBatch()
182 ps = conn.prepareStatement(query); in testExecute()
189 ps = conn.prepareStatement("select * from zoo"); in testExecute()
201 ps = conn.prepareStatement(query); in testExecute()
222 ps = conn.prepareStatement(query); in testExecute()
234 ps = conn.prepareStatement(query); in testExecute()
246 ps = conn.prepareStatement(query); in testExecute()
257 ps = conn.prepareStatement(query); in testExecute()
[all …]
DOldConnectionTest.java1130 prst = conn.prepareStatement(update); in testPrepareStatement()
1152 prst = conn.prepareStatement(""); in testPrepareStatement()
1160 conn.prepareStatement(null); in testPrepareStatement()
1180 prst = conn.prepareStatement(insert, in testPrepareStatement_String_int()
1190 prst = conn.prepareStatement(insert, in testPrepareStatement_String_int()
1207 prst1 = conn.prepareStatement(insert, Statement.RETURN_GENERATED_KEYS); in testPrepareStatement_String_int()
1859 prst = conn.prepareStatement(insert, new int[] { 0, 1, 2 }); in testPrepareStatement_String_intArray()
1943 st = conn.prepareStatement(query, ResultSet.TYPE_FORWARD_ONLY, in testPrepareStatement_String_int_int()
1962 st = conn.prepareStatement(query, ResultSet.TYPE_SCROLL_SENSITIVE, in testPrepareStatement_String_int_int()
1984 conn.prepareStatement(query, ResultSet.TYPE_SCROLL_SENSITIVE, -1); in testPrepareStatement_String_int_int()
[all …]
DOldResultSetTest.java141 ps1 = conn.prepareStatement("select * from t1"); in testClose()
142 ps2 = conn.prepareStatement("select * from t1 whe a like '?000'"); in testClose()
DOldResultSetGetterTests.java273 .prepareStatement("insert into testBinary values (?);"); in testGetBytesIntVarbinary()
305 stPrep = conn.prepareStatement("insert into testBinary values (?);"); in testGetBytesIntBinary()
355 .prepareStatement("insert into testBinary values (?);"); in testGetBytesStringVarbinary()
387 stPrep = conn.prepareStatement("insert into testBinary values (?);"); in testGetBytesStringBinary()
DOldStatementTest.java1266 st = conn.prepareStatement("insert into zoo values (7,'Speedy Gonzales','Mouse');"); in testCancel()
/libcore/ojluni/src/main/java/java/sql/
DConnection.java139 PreparedStatement prepareStatement(String sql) in prepareStatement() method
568 PreparedStatement prepareStatement(String sql, int resultSetType, in prepareStatement() method
854 PreparedStatement prepareStatement(String sql, int resultSetType, in prepareStatement() method
941 PreparedStatement prepareStatement(String sql, int autoGeneratedKeys) in prepareStatement() method
989 PreparedStatement prepareStatement(String sql, int columnIndexes[]) in prepareStatement() method
1037 PreparedStatement prepareStatement(String sql, String columnNames[]) in prepareStatement() method
/libcore/luni/src/test/java/tests/java/sql/
DDeleteFunctionalityTest.java188 PreparedStatement stat = conn.prepareStatement("DELETE FROM " in testDelete7()
DInsertFunctionalityTest.java208 PreparedStatement stat = conn.prepareStatement("INSERT INTO " in testInsertPrepared()
DUpdateFunctionalityTest2.java266 PreparedStatement stat = conn.prepareStatement("UPDATE " in testUpdate9()
DStressTest.java320 PreparedStatement ps = c.prepareStatement(query);
DSelectFunctionalityTest.java180 PreparedStatement prepStatement = conn.prepareStatement(sql); in test_SelectPrepared()