/libcore/luni/src/test/java/libcore/java/sql/ |
D | OldConnectionTest.java | 24 import java.sql.ResultSet; 36 assertEquals(ResultSet.FETCH_UNKNOWN, statement.getFetchDirection()); in testCreateStatement() 51 ResultSet rs = null; in testCreateStatement_int_int() 55 st = conn.createStatement(ResultSet.TYPE_FORWARD_ONLY, in testCreateStatement_int_int() 56 ResultSet.CONCUR_READ_ONLY); in testCreateStatement_int_int() 75 st = conn.createStatement(ResultSet.TYPE_FORWARD_ONLY, in testCreateStatement_int_int() 76 ResultSet.CONCUR_READ_ONLY); in testCreateStatement_int_int() 96 st = conn.createStatement(ResultSet.TYPE_FORWARD_ONLY, in testCreateStatement_int_int() 97 ResultSet.CONCUR_READ_ONLY); in testCreateStatement_int_int() 118 st = conn.createStatement(ResultSet.TYPE_SCROLL_INSENSITIVE, in testCreateStatement_int_int() [all …]
|
D | OldStatementTest.java | 21 import java.sql.ResultSet; 286 ResultSet rs = st.getGeneratedKeys(); in testExecute_String_int() 348 assertEquals(ResultSet.FETCH_UNKNOWN, st.getFetchDirection()); in testGetFetchDirection() 358 st.setFetchDirection(ResultSet.FETCH_FORWARD); in testGetFetchDirection() 359 assertEquals(ResultSet.FETCH_FORWARD, st.getFetchDirection()); in testGetFetchDirection() 383 st.setFetchDirection(ResultSet.FETCH_FORWARD); in testSetFetchDirection() 503 ResultSet r = st.executeQuery("select * from zoo;"); in testMaxRows() 533 ResultSet res = null; in testClose() 734 ResultSet rs = st.executeQuery(queries1[i]); in testExecuteQuery_String() 753 ResultSet rs = st.executeQuery(queries2[i]); in testExecuteQuery_String() [all …]
|
D | OldPreparedStatementTest.java | 32 import java.sql.ResultSet; 130 ResultSet rs = st.getResultSet(); in testAddBatch() 208 ResultSet rs = st.getResultSet(); in testExecute() 298 ResultSet rs = ps.executeQuery(); in testExecuteQuery() 313 ResultSet rs = ps.executeQuery(); in testExecuteQuery() 495 ResultSet rs = st.getResultSet(); in testSetInt() 511 ResultSet rs = st.getResultSet(); in testSetInt() 550 ResultSet rs = st.getResultSet(); in testSetLong() 564 ResultSet rs = st.getResultSet(); in testSetLong() 606 ResultSet rs = st.getResultSet(); in testSetFloat() [all …]
|
D | OldResultSetTest.java | 20 import java.sql.ResultSet; 27 ResultSet target = null; 28 ResultSet emptyTarget = null; 29 ResultSet scrollableTarget = null; 30 ResultSet writableTarget = null; 41 stForward = conn.createStatement(ResultSet.TYPE_FORWARD_ONLY, in setUp() 42 ResultSet.CONCUR_READ_ONLY); in setUp() 48 stForward = conn.createStatement(ResultSet.TYPE_FORWARD_ONLY, in setUp() 49 ResultSet.CONCUR_READ_ONLY); in setUp() 144 ResultSet rs1 = ps1.executeQuery(); in testClose() [all …]
|
D | OldSQLTest.java | 22 import java.sql.ResultSet; 92 public int getCount(ResultSet rs) { in getCount()
|
D | OldResultSetMetaDataTest.java | 19 import java.sql.ResultSet; 29 ResultSet rs = null; 234 ResultSet rs1 = null; in testGetTableName()
|
D | OldResultSetGetterTests.java | 25 import java.sql.ResultSet; 47 ResultSet res = null; 265 ResultSet res = null; in testGetBytesIntVarbinary() 297 ResultSet res = null; in testGetBytesIntBinary() 347 ResultSet res = null; in testGetBytesStringVarbinary() 380 ResultSet res = null; in testGetBytesStringBinary() 407 assertEquals(ResultSet.CONCUR_UPDATABLE, res.getConcurrency()); in testGetConcurrency() 843 ResultSet info = meta.getTypeInfo(); in testGetStatement() 1399 assertEquals(ResultSet.TYPE_FORWARD_ONLY, res.getType()); in testGetType()
|
/libcore/ojluni/src/main/java/java/sql/ |
D | DatabaseMetaData.java | 1257 ResultSet getProcedures(String catalog, String schemaPattern, in getProcedures() 1380 ResultSet getProcedureColumns(String catalog, in getProcedureColumns() 1522 ResultSet getTables(String catalog, String schemaPattern, in getTables() 1541 ResultSet getSchemas() throws SQLException; in getSchemas() 1556 ResultSet getCatalogs() throws SQLException; in getCatalogs() 1573 ResultSet getTableTypes() throws SQLException; in getTableTypes() 1665 ResultSet getColumns(String catalog, String schemaPattern, in getColumns() 1735 ResultSet getColumnPrivileges(String catalog, String schema, in getColumnPrivileges() 1778 ResultSet getTablePrivileges(String catalog, String schemaPattern, in getTablePrivileges() 1832 ResultSet getBestRowIdentifier(String catalog, String schema, in getBestRowIdentifier() [all …]
|
D | Array.java | 245 ResultSet getResultSet () throws SQLException; in getResultSet() 276 ResultSet getResultSet (java.util.Map<String,Class<?>> map) throws SQLException; in getResultSet() 307 ResultSet getResultSet(long index, int count) throws SQLException; in getResultSet() 344 ResultSet getResultSet (long index, int count, in getResultSet()
|
D | Statement.java | 66 ResultSet executeQuery(String sql) throws SQLException; in executeQuery() 359 ResultSet getResultSet() throws SQLException; in getResultSet() 709 ResultSet getGeneratedKeys() throws SQLException; in getGeneratedKeys()
|
D | PreparedStatement.java | 78 ResultSet executeQuery() throws SQLException; in executeQuery()
|
D | ResultSet.java | 149 public interface ResultSet extends Wrapper, AutoCloseable { interface
|
/libcore/luni/src/test/java/tests/java/sql/ |
D | DatabaseMetaDataTest.java | 32 import java.sql.ResultSet; 69 ResultSet.TYPE_FORWARD_ONLY, in setUp() 70 ResultSet.CONCUR_READ_ONLY); in setUp() 96 ResultSet userTab = meta.getTables(null, null, null, null); in createTestTables() 166 ResultSet result = statementForward.executeQuery("SELECT * FROM " in test_getBestRowIdentifierLjava_lang_StringLjava_lang_StringLjava_lang_StringIZ() 186 ResultSet rs = meta.getBestRowIdentifier(null, null, in test_getBestRowIdentifierLjava_lang_StringLjava_lang_StringLjava_lang_StringIZ() 227 ResultSet setAllNull = null; in test_getColumnsArbitrary() 228 ResultSet setMixed = null; in test_getColumnsArbitrary() 229 ResultSet allArbitrary = null; in test_getColumnsArbitrary() 272 ResultSet noSchemaTable = meta.getColumns("", "", in test_getColumnsTableWithNoCatalogSchema() [all …]
|
D | UpdateFunctionalityTest.java | 22 import java.sql.ResultSet; 67 ResultSet userTab = meta.getTables(null, null, null, null); in createTestTables() 116 ResultSet result = statement.executeQuery(selectQuery); in testUpdate1() 141 ResultSet result = statement.executeQuery(selectQuery); in testUpdate2() 174 ResultSet result = statement.executeQuery(selectQuery); in testUpdate3() 205 ResultSet result = statement.executeQuery(selectQuery); in testUpdate4() 238 ResultSet result = statement.executeQuery(selectQuery); in testUpdate5() 279 ResultSet result = statement.executeQuery(selectQuery); in testUpdate6() 307 ResultSet result = statement.executeQuery(selectQuery); in testUpdate7() 339 ResultSet result = statement.executeQuery(selectQuery); in testUpdate8()
|
D | SelectFunctionalityTest.java | 26 import java.sql.ResultSet; 73 ResultSet userTab = conn.getMetaData().getTables(null, in createTestTables() 132 ResultSet result = statement.executeQuery(sql); in test_SelectSimple() 197 ResultSet result = prepStatement.executeQuery(); in test_SelectPrepared() 239 ResultSet result = statement.executeQuery(sql); in test_SubSelect() 275 ResultSet result = statement.executeQuery(sql); in test_SelectThreeTables() 307 ResultSet result = statement.executeQuery(sql); in test_SelectUnionItself() 334 ResultSet result = statement.executeQuery(sql); in test_SelectLeftOuterJoin() 367 ResultSet result = statement.executeQuery(sql); in test_SelectRightOuterJoin() 397 ResultSet result = statement.executeQuery(selectQuery); in test_SelectGroupBy() [all …]
|
D | InsertFunctionalityTest.java | 21 import java.sql.ResultSet; 58 ResultSet userTab = meta.getTables(null, null, null, null); in createTestTables() 162 ResultSet r = statement.executeQuery("SELECT COUNT(*) FROM " in testInsert3() 178 ResultSet r = statement.executeQuery("SELECT COUNT(*) FROM " in testInsert4() 196 ResultSet r = statement.executeQuery("SELECT COUNT(*) FROM " in testInsert5() 216 ResultSet r = statement.executeQuery("SELECT COUNT(*) FROM " in testInsertPrepared()
|
D | DeleteFunctionalityTest.java | 23 import java.sql.ResultSet; 61 ResultSet userTab = meta.getTables(null, null, null, null); in createTestTables() 158 ResultSet r = statement.executeQuery("SELECT COUNT(*) FROM " in testDelete5() 175 ResultSet r = statement.executeQuery("SELECT COUNT(*) FROM " in testDelete6() 194 ResultSet r = statement.executeQuery("SELECT COUNT(*) FROM " in testDelete7()
|
D | UpdateFunctionalityTest2.java | 24 import java.sql.ResultSet; 67 ResultSet userTab = meta.getTables(null, null, null, null); in createTestTables() 189 ResultSet r = statement.executeQuery("SELECT COUNT(*) " + "FROM " in testUpdate5() 232 ResultSet r = statement.executeQuery("SELECT COUNT(*) FROM " in testUpdate7() 251 ResultSet r = statement.executeQuery("SELECT id FROM " in testUpdate8() 275 ResultSet r = statement.executeQuery("SELECT testId, testValue FROM " in testUpdate9()
|
D | DatabaseMetaDataNotSupportedTest.java | 31 import java.sql.ResultSet; 88 ResultSet userTab = meta.getTables(null, null, null, null); in createTestTables() 145 ResultSet userTab = userMeta.getTables(null, null, null, null); in test_allTablesAreSelectable() 214 ResultSet rs = meta.getCatalogs(); in test_getCatalogs() 255 ResultSet rs = meta.getIndexInfo(conn.getCatalog(), null, in test_getIndexInfoLjava_lang_StringLjava_lang_StringLjava_lang_StringZZ() 299 ResultSet rs = meta.getColumnPrivileges(conn.getCatalog(), null, in test_getColumnPrivilegesLjava_lang_StringLjava_lang_StringLjava_lang_StringLjava_lang_String() 347 ResultSet rs = meta.getExportedKeys(conn.getCatalog(), null, in test_getExportedKeysLjava_lang_StringLjava_lang_StringLjava_lang_String() 460 ResultSet privileges = meta.getTablePrivileges(conn.getCatalog(), "%", in test_getTablePrivilegesLjava_lang_StringLjava_lang_StringLjava_lang_String() 573 ResultSet rs = meta.getVersionColumns(conn.getCatalog(), null, in test_getVersionColumnsLjava_lang_StringLjava_lang_StringLjava_lang_String() 662 meta.ownUpdatesAreVisible(ResultSet.TYPE_FORWARD_ONLY)); in test_ownUpdatesAreVisibleI() [all …]
|
D | MultiThreadAccessTest.java | 21 import java.sql.ResultSet; 70 ResultSet userTab = conn.getMetaData().getTables(null, in createTestTables() 163 ResultSet result = statement.executeQuery(selectQuery + id1); in test_MultipleOperationsInSeveralTables() 209 ResultSet result = statement.executeQuery(selectQuery); in test_MultipleUpdatesInOneTables() 243 ResultSet result = statement.executeQuery("SELECT * FROM " in createTask1() 275 ResultSet result = statement.executeQuery("SELECT * FROM " 326 ResultSet result = statement.executeQuery("SELECT * FROM "
|
D | StressTest.java | 23 import java.sql.ResultSet; 61 ResultSet userTab = meta.getTables(null, null, null, null); in createTestTables() 175 ResultSet rs = statement in testInsertOfManyRowsUsingOneThread() 210 ResultSet rs = statement in testInsertOfManyRowsUsingManyThreads()
|
/libcore/ojluni/src/main/java/javax/sql/ |
D | RowSetInternal.java | 87 public ResultSet getOriginal() throws SQLException; in getOriginal() 101 public ResultSet getOriginalRow() throws SQLException; in getOriginalRow()
|
D | RowSet.java | 87 public interface RowSet extends ResultSet {
|
/libcore/ |
D | openjdk_java_files.bp | 712 "ojluni/src/main/java/java/sql/ResultSet.java",
|