Home
last modified time | relevance | path

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

/libcore/luni/src/test/java/libcore/java/sql/
DOldConnectionTest.java24 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 …]
DOldStatementTest.java21 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 …]
DOldPreparedStatementTest.java32 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 …]
DOldResultSetTest.java20 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 …]
DOldSQLTest.java22 import java.sql.ResultSet;
92 public int getCount(ResultSet rs) { in getCount()
DOldResultSetMetaDataTest.java19 import java.sql.ResultSet;
29 ResultSet rs = null;
234 ResultSet rs1 = null; in testGetTableName()
DOldResultSetGetterTests.java25 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/
DDatabaseMetaData.java1257 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 …]
DArray.java245 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()
DStatement.java66 ResultSet executeQuery(String sql) throws SQLException; in executeQuery()
359 ResultSet getResultSet() throws SQLException; in getResultSet()
709 ResultSet getGeneratedKeys() throws SQLException; in getGeneratedKeys()
DPreparedStatement.java78 ResultSet executeQuery() throws SQLException; in executeQuery()
DResultSet.java149 public interface ResultSet extends Wrapper, AutoCloseable { interface
/libcore/luni/src/test/java/tests/java/sql/
DDatabaseMetaDataTest.java32 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 …]
DUpdateFunctionalityTest.java22 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()
DSelectFunctionalityTest.java26 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 …]
DInsertFunctionalityTest.java21 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()
DDeleteFunctionalityTest.java23 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()
DUpdateFunctionalityTest2.java24 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()
DDatabaseMetaDataNotSupportedTest.java31 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 …]
DMultiThreadAccessTest.java21 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 "
DStressTest.java26 import java.sql.ResultSet;
70 ResultSet userTab = meta.getTables(null, null, null, null); in createTestTables()
187 ResultSet rs = statement in testInsertOfManyRowsUsingOneThread()
226 ResultSet rs = statement in testInsertOfManyRowsUsingManyThreads()
/libcore/ojluni/src/main/java/javax/sql/
DRowSetInternal.java87 public ResultSet getOriginal() throws SQLException; in getOriginal()
101 public ResultSet getOriginalRow() throws SQLException; in getOriginalRow()
DRowSet.java87 public interface RowSet extends ResultSet {
/libcore/api/
Dcurrent.txt8824 method public java.sql.ResultSet getResultSet() throws java.sql.SQLException;
8825 …method public java.sql.ResultSet getResultSet(java.util.Map<java.lang.String,java.lang.Class<?>>) …
8826 method public java.sql.ResultSet getResultSet(long, int) throws java.sql.SQLException;
8827 …method public java.sql.ResultSet getResultSet(long, int, java.util.Map<java.lang.String,java.lang.…
9068 …method public java.sql.ResultSet getAttributes(String, String, String, String) throws java.sql.SQL…
9069 …method public java.sql.ResultSet getBestRowIdentifier(String, String, String, int, boolean) throws…
9072 method public java.sql.ResultSet getCatalogs() throws java.sql.SQLException;
9073 method public java.sql.ResultSet getClientInfoProperties() throws java.sql.SQLException;
9074 …method public java.sql.ResultSet getColumnPrivileges(String, String, String, String) throws java.s…
9075 …method public java.sql.ResultSet getColumns(String, String, String, String) throws java.sql.SQLExc…
[all …]
/libcore/
Dopenjdk_java_files.bp719 "ojluni/src/main/java/java/sql/ResultSet.java",