Home
last modified time | relevance | path

Searched refs:ResultSet (Results 1 – 23 of 23) 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()
299 ResultSet rs = ps.executeQuery(); in testExecuteQuery()
314 ResultSet rs = ps.executeQuery(); in testExecuteQuery()
497 ResultSet rs = st.getResultSet(); in testSetInt()
513 ResultSet rs = st.getResultSet(); in testSetInt()
552 ResultSet rs = st.getResultSet(); in testSetLong()
566 ResultSet rs = st.getResultSet(); in testSetLong()
608 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/luni/src/main/java/java/sql/
DDatabaseMetaData.java521 public ResultSet getAttributes(String catalog, String schemaPattern, in getAttributes()
584 public ResultSet getBestRowIdentifier(String catalog, String schema, in getBestRowIdentifier()
597 public ResultSet getCatalogs() throws SQLException; in getCatalogs()
659 public ResultSet getColumnPrivileges(String catalog, String schema, in getColumnPrivileges()
737 public ResultSet getColumns(String catalog, String schemaPattern, in getColumns()
847 public ResultSet getCrossReference(String primaryCatalog, in getCrossReference()
1022 public ResultSet getExportedKeys(String catalog, String schema, String table) in getExportedKeys()
1131 public ResultSet getImportedKeys(String catalog, String schema, String table) in getImportedKeys()
1203 public ResultSet getIndexInfo(String catalog, String schema, String table, in getIndexInfo()
1488 public ResultSet getPrimaryKeys(String catalog, String schema, String table) in getPrimaryKeys()
[all …]
DArray.java113 public ResultSet getResultSet() throws SQLException; in getResultSet()
129 public ResultSet getResultSet(long index, int count) throws SQLException; in getResultSet()
149 public ResultSet getResultSet(long index, int count, in getResultSet()
163 public ResultSet getResultSet(Map<String, Class<?>> map) in getResultSet()
DStatement.java271 public ResultSet executeQuery(String sql) throws SQLException; in executeQuery()
394 public ResultSet getGeneratedKeys() throws SQLException; in getGeneratedKeys()
480 public ResultSet getResultSet() throws SQLException; in getResultSet()
DPreparedStatement.java86 public ResultSet executeQuery() throws SQLException; in executeQuery()
DResultSet.java84 public interface ResultSet extends Wrapper, AutoCloseable { interface
/libcore/luni/src/main/java/javax/sql/
DRowSetInternal.java21 import java.sql.ResultSet;
52 public ResultSet getOriginal() throws SQLException; in getOriginal()
64 public ResultSet getOriginalRow() throws SQLException; in getOriginalRow()
DRowSet.java30 import java.sql.ResultSet;
67 public interface RowSet extends ResultSet {
/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 …]
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()
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()
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()
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 "
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 …]
DStressTest.java23 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()