Searched refs:executeUpdate (Results 1 – 10 of 10) sorted by relevance
/libcore/ojluni/src/main/java/java/sql/ |
D | Statement.java | 90 int executeUpdate(String sql) throws SQLException; in executeUpdate() method 746 int executeUpdate(String sql, int autoGeneratedKeys) throws SQLException; in executeUpdate() method 781 int executeUpdate(String sql, int columnIndexes[]) throws SQLException; in executeUpdate() method 815 int executeUpdate(String sql, String columnNames[]) throws SQLException; in executeUpdate() method
|
D | PreparedStatement.java | 96 int executeUpdate() throws SQLException; in executeUpdate() method
|
/libcore/luni/src/test/java/tests/java/sql/ |
D | UpdateFunctionalityTest.java | 111 int num = statement.executeUpdate(updateQuery); in testUpdate1() 136 int num = statement.executeUpdate(updateQuery); in testUpdate2() 169 int num = statement.executeUpdate(updateQuery); in testUpdate3() 199 int num = statement.executeUpdate(updateQuery); in testUpdate4() 247 int num = statement.executeUpdate(updateQuery); in testUpdate5() 274 int num = statement.executeUpdate(updateQuery); in testUpdate6() 301 int num = statement.executeUpdate(updateQuery); in testUpdate7() 334 int num = statement.executeUpdate(updateQuery); in testUpdate8()
|
D | UpdateFunctionalityTest2.java | 140 statement.executeUpdate("UPDATE " + DatabaseCreator.PARENT_TABLE in testUpdate2() 171 statement.executeUpdate("UPDATE " + DatabaseCreator.FKSTRICT_TABLE in testUpdate4() 186 statement.executeUpdate("UPDATE " + DatabaseCreator.PARENT_TABLE in testUpdate5() 211 statement.executeUpdate("UPDATE " + DatabaseCreator.FKCASCADE_TABLE in testUpdate6() 229 statement.executeUpdate("UPDATE " + DatabaseCreator.FKSTRICT_TABLE in testUpdate7() 244 statement.executeUpdate("UPDATE " + DatabaseCreator.SIMPLE_TABLE3 in testUpdate8()
|
D | DatabaseMetaDataTest.java | 170 statementForward.executeUpdate("INSERT INTO " + DatabaseCreator.TEST_TABLE1 in test_getBestRowIdentifierLjava_lang_StringLjava_lang_StringLjava_lang_StringIZ()
|
/libcore/luni/src/test/java/libcore/java/sql/ |
D | OldStatementTest.java | 790 int count = st.executeUpdate(queries1[i]); in testExecuteUpdate_String() 794 assertEquals(0, st.executeUpdate(queries2)); in testExecuteUpdate_String() 808 assertEquals(0 ,stat.executeUpdate("create table s1 (c1);")); in testExecuteUpdate_String() 810 assertEquals(1, stat.executeUpdate("insert into s1 values (0);")); in testExecuteUpdate_String() 811 assertEquals(1, stat.executeUpdate("insert into s1 values (1);")); in testExecuteUpdate_String() 812 assertEquals(1, stat.executeUpdate("insert into s1 values (2);")); in testExecuteUpdate_String() 813 assertEquals(1,stat.executeUpdate("delete from s1 where c1 = 1;")); in testExecuteUpdate_String() 814 assertEquals(2, stat.executeUpdate("update s1 set c1 = 5;")); in testExecuteUpdate_String() 817 assertEquals(2,stat.executeUpdate("delete from s1;")); in testExecuteUpdate_String() 820 assertEquals(0, stat.executeUpdate("drop table s1;")); in testExecuteUpdate_String() [all …]
|
D | OldResultSetMetaDataTest.java | 242 st1.executeUpdate(create); in testGetTableName() 243 st1.executeUpdate(insert1); in testGetTableName() 244 st1.executeUpdate(insert2); in testGetTableName() 257 st1.executeUpdate("drop table if exists hutch"); in testGetTableName() 287 st2.executeUpdate(createTable); in testGetPrecision() 288 st2.executeUpdate(insert); in testGetPrecision() 353 st.executeUpdate(createTable); in testGetScale() 354 st.executeUpdate(insert); in testGetScale()
|
D | OldResultSetGetterTests.java | 271 st.executeUpdate("create table testBinary (VARBINARY value);"); in testGetBytesIntVarbinary() 304 st.executeUpdate("create table testBinary (BINARY value);"); in testGetBytesIntBinary() 353 st.executeUpdate("create table testBinary (VARBINARY value);"); in testGetBytesStringVarbinary() 386 st.executeUpdate("create table testBinary (BINARY value);"); in testGetBytesStringBinary()
|
D | OldConnectionTest.java | 502 … st.executeUpdate("insert into zoo (id, name, family) values (4, 'ChaChaCha', 'monkey');"); in testSetReadOnly() 1137 prst.executeUpdate(); in testPrepareStatement()
|
D | OldPreparedStatementTest.java | 333 ps.executeUpdate(); in testExecuteUpdate() 349 int updateCount = ps.executeUpdate(); in testExecuteUpdate() 352 int updateCount1 = ps.executeUpdate(); in testExecuteUpdate()
|