Home
last modified time | relevance | path

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

/libcore/luni/src/main/java/java/sql/
DConnection.java434 public PreparedStatement prepareStatement(String sql) throws SQLException; in prepareStatement() method
471 public PreparedStatement prepareStatement(String sql, int autoGeneratedKeys) in prepareStatement() method
501 public PreparedStatement prepareStatement(String sql, int[] columnIndexes) in prepareStatement() method
532 public PreparedStatement prepareStatement(String sql, int resultSetType, in prepareStatement() method
569 public PreparedStatement prepareStatement(String sql, int resultSetType, in prepareStatement() method
601 public PreparedStatement prepareStatement(String sql, String[] columnNames) in prepareStatement() method
/libcore/luni/src/test/java/tests/sql/
DPreparedStatementTest.java139 .prepareStatement("INSERT INTO zoo VALUES (3,'Tuzik', ?);"); in testAddBatch()
174 .prepareStatement("INSERT INTO zoo VALUES (3,'Tuzik', ?);"); in testAddBatch()
187 .prepareStatement("INSERT INTO zoo VALUES (3,'Tuzik', ?);"); in testAddBatch()
216 ps = conn.prepareStatement(query); in testExecute()
223 ps = conn.prepareStatement("select * from zoo"); in testExecute()
237 ps = conn.prepareStatement(query); in testExecute()
260 ps = conn.prepareStatement(query); in testExecute()
274 ps = conn.prepareStatement(query); in testExecute()
288 ps = conn.prepareStatement(query); in testExecute()
301 ps = conn.prepareStatement(query); in testExecute()
[all …]
DConnectionTest.java1517 prst = conn.prepareStatement(update); in testPrepareStatement()
1541 prst = conn.prepareStatement(""); in testPrepareStatement()
1549 conn.prepareStatement(null); in testPrepareStatement()
1583 prst = conn.prepareStatement(insert, in testPrepareStatement_String_int()
1594 prst = conn.prepareStatement(insert, in testPrepareStatement_String_int()
1613 prst1 = conn.prepareStatement(insert, Statement.RETURN_GENERATED_KEYS); in testPrepareStatement_String_int()
2384 prst = conn.prepareStatement(insert, new int[] { 0, 1, 2 }); in testPrepareStatement_String_intArray()
2478 st = conn.prepareStatement(query, ResultSet.TYPE_FORWARD_ONLY, in testPrepareStatement_String_int_int()
2500 st = conn.prepareStatement(query, ResultSet.TYPE_SCROLL_SENSITIVE, in testPrepareStatement_String_int_int()
2525 conn.prepareStatement(query, ResultSet.TYPE_SCROLL_SENSITIVE, -1); in testPrepareStatement_String_int_int()
[all …]
DResultSetTest.java254 ps1 = conn.prepareStatement("select * from t1"); in testClose()
256 .prepareStatement("select * from t1 whe a like '?000'"); in testClose()
DResultSetGetterTests.java315 .prepareStatement("insert into testBinary values (?);"); in testGetBytesIntVarbinary()
362 stPrep = conn.prepareStatement("insert into testBinary values (?);"); in testGetBytesIntBinary()
441 .prepareStatement("insert into testBinary values (?);"); in testGetBytesStringVarbinary()
489 stPrep = conn.prepareStatement("insert into testBinary values (?);"); in testGetBytesStringBinary()
DStatementTest.java1779 st = conn.prepareStatement("insert into zoo values (7,'Speedy Gonzales','Mouse');"); in testCancel()
/libcore/luni/src/test/java/org/apache/harmony/sql/tests/java/sql/
DTestHelper_Connection1.java123 public PreparedStatement prepareStatement(String sql, int resultSetType, in prepareStatement() method in TestHelper_Connection1
129 public PreparedStatement prepareStatement(String sql, int resultSetType, in prepareStatement() method in TestHelper_Connection1
134 public PreparedStatement prepareStatement(String sql, int autoGeneratedKeys) in prepareStatement() method in TestHelper_Connection1
139 public PreparedStatement prepareStatement(String sql, int[] columnIndexes) in prepareStatement() method in TestHelper_Connection1
144 public PreparedStatement prepareStatement(String sql, String[] columnNames) in prepareStatement() method in TestHelper_Connection1
149 public PreparedStatement prepareStatement(String sql) throws SQLException { in prepareStatement() method in TestHelper_Connection1
/libcore/sqlite-jdbc/src/main/java/SQLite/JDBC2z/
DJDBCConnection.java285 public PreparedStatement prepareStatement(String sql) throws SQLException { in prepareStatement() method in JDBCConnection
290 public PreparedStatement prepareStatement(String sql, int resultSetType, in prepareStatement() method in JDBCConnection
431 public PreparedStatement prepareStatement(String sql, int resultSetType, in prepareStatement() method in JDBCConnection
438 return prepareStatement(sql, resultSetType, resultSetConcurrency); in prepareStatement()
446 public PreparedStatement prepareStatement(String sql, int autokeys) in prepareStatement() method in JDBCConnection
451 return prepareStatement(sql); in prepareStatement()
454 public PreparedStatement prepareStatement(String sql, int colIndexes[]) in prepareStatement() method in JDBCConnection
459 public PreparedStatement prepareStatement(String sql, String columns[]) in prepareStatement() method in JDBCConnection
/libcore/luni/src/test/java/com/google/coretests/
DStatsStore.java253 insertStmt = conn.prepareStatement("INSERT " + in open()
255 selectByNameStmt = conn.prepareStatement("SELECT id, " + in open()
261 updateStmt = conn.prepareStatement("UPDATE Test_Cases SET " + in open()
267 insertDetStmt = conn.prepareStatement("INSERT " + in open()
270 insertEventStmt = conn.prepareStatement("INSERT " + in open()
273 selectAllStmt = conn.prepareStatement("SELECT id, name, " + in open()
/libcore/luni/src/test/java/tests/java/sql/
DQueryTimeoutTest.java335 return conn.prepareStatement(query); in prepare()
540 stmt = conn.prepareStatement("select * from sys.systables"); in testInvalidTimeoutValue()
615 PreparedStatement ps = connections[0].prepareStatement(sql); in testRememberTimeoutValue()
DDeleteFunctionalityTest.java236 PreparedStatement stat = conn.prepareStatement("DELETE FROM " in testDelete7()
DInsertFunctionalityTest.java275 PreparedStatement stat = conn.prepareStatement("INSERT INTO " in testInsertPrepared()
DStressTest.java351 PreparedStatement ps = c.prepareStatement(query);
DUpdateFunctionalityTest2.java350 PreparedStatement stat = conn.prepareStatement("UPDATE " in testUpdate9()
DSelectFunctionalityTest.java197 PreparedStatement prepStatement = conn.prepareStatement(sql); in test_SelectPrepared()