Home
last modified time | relevance | path

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

1234

/libcore/luni/src/test/java/tests/java/sql/
DStressTest.java17 package tests.java.sql;
19 import java.sql.Connection;
20 import java.sql.DatabaseMetaData;
21 import java.sql.Driver;
22 import java.sql.PreparedStatement;
23 import java.sql.ResultSet;
24 import java.sql.SQLException;
25 import java.sql.Statement;
70 } catch (SQLException sql) { in createTestTables()
71 fail("Unexpected SQLException " + sql.toString()); in createTestTables()
[all …]
DSelectFunctionalityTest.java17 package tests.java.sql;
23 import java.sql.Connection;
24 import java.sql.Date;
25 import java.sql.PreparedStatement;
26 import java.sql.ResultSet;
27 import java.sql.SQLException;
28 import java.sql.Statement;
29 import java.sql.Time;
131 String sql = "SELECT * FROM " + DatabaseCreator.TEST_TABLE2; in test_SelectSimple() local
132 ResultSet result = statement.executeQuery(sql); in test_SelectSimple()
[all …]
DDeleteFunctionalityTest.java16 package tests.java.sql;
20 import java.sql.Connection;
21 import java.sql.DatabaseMetaData;
22 import java.sql.PreparedStatement;
23 import java.sql.ResultSet;
24 import java.sql.SQLException;
25 import java.sql.Statement;
DInsertFunctionalityTest.java16 package tests.java.sql;
18 import java.sql.Connection;
19 import java.sql.DatabaseMetaData;
20 import java.sql.PreparedStatement;
21 import java.sql.ResultSet;
22 import java.sql.SQLException;
23 import java.sql.Statement;
/libcore/ojluni/src/main/java/java/sql/
DStatement.java27 package java.sql;
66 ResultSet executeQuery(String sql) throws SQLException; in executeQuery() argument
91 int executeUpdate(String sql) throws SQLException; in executeUpdate() argument
347 boolean execute(String sql) throws SQLException; in execute() argument
513 void addBatch( String sql ) throws SQLException; in addBatch() argument
747 int executeUpdate(String sql, int autoGeneratedKeys) throws SQLException; in executeUpdate() argument
782 int executeUpdate(String sql, int columnIndexes[]) throws SQLException; in executeUpdate() argument
816 int executeUpdate(String sql, String columnNames[]) throws SQLException; in executeUpdate() argument
869 boolean execute(String sql, int autoGeneratedKeys) throws SQLException; in execute() argument
918 boolean execute(String sql, int columnIndexes[]) throws SQLException; in execute() argument
[all …]
DConnection.java27 package java.sql;
139 PreparedStatement prepareStatement(String sql) in prepareStatement() argument
172 CallableStatement prepareCall(String sql) throws SQLException; in prepareCall() argument
186 String nativeSQL(String sql) throws SQLException; in nativeSQL() argument
568 PreparedStatement prepareStatement(String sql, int resultSetType, in prepareStatement() argument
602 CallableStatement prepareCall(String sql, int resultSetType, in prepareCall() argument
854 PreparedStatement prepareStatement(String sql, int resultSetType, in prepareStatement() argument
894 CallableStatement prepareCall(String sql, int resultSetType, in prepareCall() argument
941 PreparedStatement prepareStatement(String sql, int autoGeneratedKeys) in prepareStatement() argument
989 PreparedStatement prepareStatement(String sql, int columnIndexes[]) in prepareStatement() argument
[all …]
DTEST_MAPPING7 "include-filter": "org.apache.harmony.sql.tests.java.sql"
10 "include-filter": "tests.java.sql"
13 "include-filter": "libcore.java.sql"
DResultSet.java27 package java.sql;
395 java.sql.Date getDate(int columnIndex) throws SQLException; in getDate()
409 java.sql.Time getTime(int columnIndex) throws SQLException; in getTime()
423 java.sql.Timestamp getTimestamp(int columnIndex) throws SQLException; in getTimestamp()
686 java.sql.Date getDate(String columnLabel) throws SQLException; in getDate()
701 java.sql.Time getTime(String columnLabel) throws SQLException; in getTime()
715 java.sql.Timestamp getTimestamp(String columnLabel) throws SQLException; in getTimestamp()
1731 void updateDate(int columnIndex, java.sql.Date x) throws SQLException; in updateDate()
1750 void updateTime(int columnIndex, java.sql.Time x) throws SQLException; in updateTime()
1770 void updateTimestamp(int columnIndex, java.sql.Timestamp x) in updateTimestamp()
[all …]
DCallableStatement.java27 package java.sql;
331 java.sql.Date getDate(int parameterIndex) throws SQLException; in getDate()
346 java.sql.Time getTime(int parameterIndex) throws SQLException; in getTime()
361 java.sql.Timestamp getTimestamp(int parameterIndex) in getTimestamp()
523 java.sql.Date getDate(int parameterIndex, Calendar cal) in getDate()
548 java.sql.Time getTime(int parameterIndex, Calendar cal) in getTime()
574 java.sql.Timestamp getTimestamp(int parameterIndex, Calendar cal) in getTimestamp()
992 void setDate(String parameterName, java.sql.Date x) in setDate()
1010 void setTime(String parameterName, java.sql.Time x) in setTime()
1029 void setTimestamp(String parameterName, java.sql.Timestamp x) in setTimestamp()
[all …]
DWrapper.java26 package java.sql;
61 <T> T unwrap(java.lang.Class<T> iface) throws java.sql.SQLException; in unwrap()
78 boolean isWrapperFor(java.lang.Class<?> iface) throws java.sql.SQLException; in isWrapperFor()
DSQLInput.java26 package java.sql;
194 java.sql.Date readDate() throws SQLException; in readDate()
205 java.sql.Time readTime() throws SQLException; in readTime()
216 java.sql.Timestamp readTimestamp() throws SQLException; in readTimestamp()
DSQLOutput.java26 package java.sql;
197 void writeDate(java.sql.Date x) throws SQLException; in writeDate()
210 void writeTime(java.sql.Time x) throws SQLException; in writeTime()
223 void writeTimestamp(java.sql.Timestamp x) throws SQLException; in writeTimestamp()
DPreparedStatement.java27 package java.sql;
266 void setDate(int parameterIndex, java.sql.Date x) in setDate()
280 void setTime(int parameterIndex, java.sql.Time x) in setTime()
294 void setTimestamp(int parameterIndex, java.sql.Timestamp x) in setTimestamp()
636 void setDate(int parameterIndex, java.sql.Date x, Calendar cal) in setDate()
658 void setTime(int parameterIndex, java.sql.Time x, Calendar cal) in setTime()
680 void setTimestamp(int parameterIndex, java.sql.Timestamp x, Calendar cal) in setTimestamp()
/libcore/luni/src/test/java/libcore/javax/sql/
DOldConnectionEventTest.java18 package libcore.javax.sql;
20 import java.sql.Connection;
21 import java.sql.SQLException;
22 import javax.sql.ConnectionEvent;
23 import javax.sql.ConnectionEventListener;
24 import javax.sql.PooledConnection;
25 import javax.sql.StatementEventListener;
/libcore/ojluni/src/main/java/javax/sql/
DDataSource.java26 package javax.sql;
28 import java.sql.Connection;
29 import java.sql.SQLException;
30 import java.sql.Wrapper;
DTEST_MAPPING7 "include-filter": "libcore.javax.sql"
10 "include-filter": "org.apache.harmony.sql.tests.javax.sql"
DRowSet.java26 package javax.sql;
28 import java.sql.*;
830 void setDate(int parameterIndex, java.sql.Date x) throws SQLException; in setDate()
842 void setTime(int parameterIndex, java.sql.Time x) throws SQLException; in setTime()
854 void setTimestamp(int parameterIndex, java.sql.Timestamp x) in setTimestamp()
872 void setTimestamp(String parameterName, java.sql.Timestamp x) in setTimestamp()
1687 void setDate(int parameterIndex, java.sql.Date x, Calendar cal) in setDate()
1706 void setDate(String parameterName, java.sql.Date x) in setDate()
1730 void setDate(String parameterName, java.sql.Date x, Calendar cal) in setDate()
1744 void setTime(int parameterIndex, java.sql.Time x, Calendar cal) in setTime()
[all …]
DPooledConnection.java26 package javax.sql;
28 import java.sql.Connection;
29 import java.sql.SQLException;
DCommonDataSource.java26 package javax.sql;
28 import java.sql.SQLException;
30 import java.sql.SQLFeatureNotSupportedException;
DStatementEvent.java29 package javax.sql;
31 import java.sql.PreparedStatement;
32 import java.sql.SQLException;
/libcore/luni/src/test/java/libcore/java/sql/
DOldSQLTest.java17 package libcore.java.sql;
20 import java.sql.Connection;
21 import java.sql.DriverManager;
22 import java.sql.ResultSet;
23 import java.sql.SQLException;
24 import java.sql.Statement;
DDriverTest.java17 package libcore.java.sql;
23 import java.sql.Driver;
24 import java.sql.DriverManager;
25 import java.sql.DriverPropertyInfo;
26 import java.sql.SQLException;
DOldDriverPropertyInfoTest.java18 package libcore.java.sql;
20 import java.sql.Driver;
21 import java.sql.DriverManager;
22 import java.sql.DriverPropertyInfo;
DConnectionTest.java1 package libcore.java.sql;
7 import java.sql.Connection;
8 import java.sql.Driver;
9 import java.sql.DriverManager;
/libcore/expectations/
Dknownfailures.txt111 "tests.java.sql.SelectFunctionalityTest#test_SelectRightOuterJoin",
112 "tests.java.sql.UpdateFunctionalityTest2#testUpdate2",
113 "tests.java.sql.UpdateFunctionalityTest2#testUpdate4",
114 "tests.java.sql.UpdateFunctionalityTest2#testUpdate6",
115 "tests.java.sql.UpdateFunctionalityTest2#testUpdate7",
116 "tests.java.sql.DeleteFunctionalityTest#testDelete6"
122 name: "tests.java.sql.DatabaseMetaDataTest#test_getColumnsArbitrary"
127 name: "tests.java.sql.DatabaseMetaDataTest#test_getColumnsSpecific"
132 name: "tests.java.sql.DatabaseMetaDataTest#test_getColumnsTableWithNoCatalogSchema"
137 …name: "tests.java.sql.DatabaseMetaDataTest#test_getCrossReferenceLjava_lang_StringLjava_lang_Strin…
[all …]

1234