Home
last modified time | relevance | path

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

123

/libcore/ojluni/src/main/java/java/sql/
DDatabaseMetaData.java85 boolean allProceduresAreCallable() throws SQLException; in allProceduresAreCallable()
95 boolean allTablesAreSelectable() throws SQLException; in allTablesAreSelectable()
104 String getURL() throws SQLException; in getURL()
112 String getUserName() throws SQLException; in getUserName()
120 boolean isReadOnly() throws SQLException; in isReadOnly()
134 boolean nullsAreSortedHigh() throws SQLException; in nullsAreSortedHigh()
148 boolean nullsAreSortedLow() throws SQLException; in nullsAreSortedLow()
157 boolean nullsAreSortedAtStart() throws SQLException; in nullsAreSortedAtStart()
166 boolean nullsAreSortedAtEnd() throws SQLException; in nullsAreSortedAtEnd()
174 String getDatabaseProductName() throws SQLException; in getDatabaseProductName()
[all …]
DResultSet.java177 boolean next() throws SQLException; in next()
208 void close() throws SQLException; in close()
223 boolean wasNull() throws SQLException; in wasNull()
239 String getString(int columnIndex) throws SQLException; in getString()
260 boolean getBoolean(int columnIndex) throws SQLException; in getBoolean()
274 byte getByte(int columnIndex) throws SQLException; in getByte()
288 short getShort(int columnIndex) throws SQLException; in getShort()
302 int getInt(int columnIndex) throws SQLException; in getInt()
316 long getLong(int columnIndex) throws SQLException; in getLong()
330 float getFloat(int columnIndex) throws SQLException; in getFloat()
[all …]
DStatement.java66 ResultSet executeQuery(String sql) throws SQLException; in executeQuery()
91 int executeUpdate(String sql) throws SQLException; in executeUpdate()
110 void close() throws SQLException; in close()
130 int getMaxFieldSize() throws SQLException; in getMaxFieldSize()
151 void setMaxFieldSize(int max) throws SQLException; in setMaxFieldSize()
166 int getMaxRows() throws SQLException; in getMaxRows()
181 void setMaxRows(int max) throws SQLException; in setMaxRows()
197 void setEscapeProcessing(boolean enable) throws SQLException; in setEscapeProcessing()
211 int getQueryTimeout() throws SQLException; in getQueryTimeout()
239 void setQueryTimeout(int seconds) throws SQLException; in setQueryTimeout()
[all …]
DCallableStatement.java104 throws SQLException; in registerOutParameter()
138 throws SQLException; in registerOutParameter()
151 boolean wasNull() throws SQLException; in wasNull()
174 String getString(int parameterIndex) throws SQLException; in getString()
190 boolean getBoolean(int parameterIndex) throws SQLException; in getBoolean()
205 byte getByte(int parameterIndex) throws SQLException; in getByte()
220 short getShort(int parameterIndex) throws SQLException; in getShort()
235 int getInt(int parameterIndex) throws SQLException; in getInt()
250 long getLong(int parameterIndex) throws SQLException; in getLong()
265 float getFloat(int parameterIndex) throws SQLException; in getFloat()
[all …]
DConnection.java105 Statement createStatement() throws SQLException; in createStatement()
140 throws SQLException; in prepareStatement()
172 CallableStatement prepareCall(String sql) throws SQLException; in prepareCall()
186 String nativeSQL(String sql) throws SQLException; in nativeSQL()
223 void setAutoCommit(boolean autoCommit) throws SQLException; in setAutoCommit()
235 boolean getAutoCommit() throws SQLException; in getAutoCommit()
250 void commit() throws SQLException; in commit()
264 void rollback() throws SQLException; in rollback()
281 void close() throws SQLException; in close()
300 boolean isClosed() throws SQLException; in isClosed()
[all …]
DPreparedStatement.java78 ResultSet executeQuery() throws SQLException; in executeQuery()
96 int executeUpdate() throws SQLException; in executeUpdate()
116 void setNull(int parameterIndex, int sqlType) throws SQLException; in setNull()
130 void setBoolean(int parameterIndex, boolean x) throws SQLException; in setBoolean()
143 void setByte(int parameterIndex, byte x) throws SQLException; in setByte()
156 void setShort(int parameterIndex, short x) throws SQLException; in setShort()
169 void setInt(int parameterIndex, int x) throws SQLException; in setInt()
182 void setLong(int parameterIndex, long x) throws SQLException; in setLong()
195 void setFloat(int parameterIndex, float x) throws SQLException; in setFloat()
208 void setDouble(int parameterIndex, double x) throws SQLException; in setDouble()
[all …]
DSQLInput.java75 String readString() throws SQLException; in readString()
87 boolean readBoolean() throws SQLException; in readBoolean()
99 byte readByte() throws SQLException; in readByte()
111 short readShort() throws SQLException; in readShort()
123 int readInt() throws SQLException; in readInt()
135 long readLong() throws SQLException; in readLong()
147 float readFloat() throws SQLException; in readFloat()
159 double readDouble() throws SQLException; in readDouble()
171 java.math.BigDecimal readBigDecimal() throws SQLException; in readBigDecimal()
183 byte[] readBytes() throws SQLException; in readBytes()
[all …]
DSQLOutput.java67 void writeString(String x) throws SQLException; in writeString()
80 void writeBoolean(boolean x) throws SQLException; in writeBoolean()
93 void writeByte(byte x) throws SQLException; in writeByte()
106 void writeShort(short x) throws SQLException; in writeShort()
119 void writeInt(int x) throws SQLException; in writeInt()
132 void writeLong(long x) throws SQLException; in writeLong()
145 void writeFloat(float x) throws SQLException; in writeFloat()
158 void writeDouble(double x) throws SQLException; in writeDouble()
171 void writeBigDecimal(java.math.BigDecimal x) throws SQLException; in writeBigDecimal()
184 void writeBytes(byte[] x) throws SQLException; in writeBytes()
[all …]
DResultSetMetaData.java53 int getColumnCount() throws SQLException; in getColumnCount()
62 boolean isAutoIncrement(int column) throws SQLException; in isAutoIncrement()
71 boolean isCaseSensitive(int column) throws SQLException; in isCaseSensitive()
80 boolean isSearchable(int column) throws SQLException; in isSearchable()
89 boolean isCurrency(int column) throws SQLException; in isCurrency()
99 int isNullable(int column) throws SQLException; in isNullable()
126 boolean isSigned(int column) throws SQLException; in isSigned()
136 int getColumnDisplaySize(int column) throws SQLException; in getColumnDisplaySize()
149 String getColumnLabel(int column) throws SQLException; in getColumnLabel()
158 String getColumnName(int column) throws SQLException; in getColumnName()
[all …]
DClob.java72 long length() throws SQLException; in length()
95 String getSubString(long pos, int length) throws SQLException; in getSubString()
111 java.io.Reader getCharacterStream() throws SQLException; in getCharacterStream()
126 java.io.InputStream getAsciiStream() throws SQLException; in getAsciiStream()
145 long position(String searchstr, long start) throws SQLException; in position()
164 long position(Clob searchstr, long start) throws SQLException; in position()
196 int setString(long pos, String str) throws SQLException; in setString()
228 int setString(long pos, String str, int offset, int len) throws SQLException; in setString()
257 java.io.OutputStream setAsciiStream(long pos) throws SQLException; in setAsciiStream()
287 java.io.Writer setCharacterStream(long pos) throws SQLException; in setCharacterStream()
[all …]
DBlob.java72 long length() throws SQLException; in length()
97 byte[] getBytes(long pos, int length) throws SQLException; in getBytes()
111 java.io.InputStream getBinaryStream () throws SQLException; in getBinaryStream()
130 long position(byte pattern[], long start) throws SQLException; in position()
149 long position(Blob pattern, long start) throws SQLException; in position()
181 int setBytes(long pos, byte[] bytes) throws SQLException; in setBytes()
217 int setBytes(long pos, byte[] bytes, int offset, int len) throws SQLException; in setBytes()
246 java.io.OutputStream setBinaryStream(long pos) throws SQLException; in setBinaryStream()
266 void truncate(long len) throws SQLException; in truncate()
285 void free() throws SQLException; in free()
[all …]
DSQLException.java53 public class SQLException extends java.lang.Exception class
69 public SQLException(String reason, String SQLState, int vendorCode) { in SQLException() method in SQLException
95 public SQLException(String reason, String SQLState) { in SQLException() method in SQLException
118 public SQLException(String reason) { in SQLException() method in SQLException
139 public SQLException() { in SQLException() method in SQLException
164 public SQLException(Throwable cause) { in SQLException() method in SQLException
186 public SQLException(String reason, Throwable cause) { in SQLException() method in SQLException
209 public SQLException(String reason, String sqlState, Throwable cause) { in SQLException() method in SQLException
235 public SQLException(String reason, String sqlState, int vendorCode, Throwable cause) { in SQLException() method in SQLException
276 public SQLException getNextException() { in getNextException()
[all …]
DArray.java89 String getBaseTypeName() throws SQLException; in getBaseTypeName()
104 int getBaseType() throws SQLException; in getBaseType()
128 Object getArray() throws SQLException; in getArray()
156 Object getArray(java.util.Map<String,Class<?>> map) throws SQLException; in getArray()
181 Object getArray(long index, int count) throws SQLException; in getArray()
220 throws SQLException; in getArray()
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()
346 throws SQLException; in getResultSet()
[all …]
DParameterMetaData.java54 int getParameterCount() throws SQLException; in getParameterCount()
67 int isNullable(int param) throws SQLException; in isNullable()
95 boolean isSigned(int param) throws SQLException; in isSigned()
112 int getPrecision(int param) throws SQLException; in getPrecision()
123 int getScale(int param) throws SQLException; in getScale()
134 int getParameterType(int param) throws SQLException; in getParameterType()
145 String getParameterTypeName(int param) throws SQLException; in getParameterTypeName()
161 String getParameterClassName(int param) throws SQLException; in getParameterClassName()
195 int getParameterMode(int param) throws SQLException; in getParameterMode()
DSQLXML.java208 void free() throws SQLException; in free()
226 InputStream getBinaryStream() throws SQLException; in getBinaryStream()
245 OutputStream setBinaryStream() throws SQLException; in setBinaryStream()
269 Reader getCharacterStream() throws SQLException; in getCharacterStream()
293 Writer setCharacterStream() throws SQLException; in setCharacterStream()
317 String getString() throws SQLException; in getString()
341 void setString(String value) throws SQLException; in setString()
383 <T extends Source> T getSource(Class<T> sourceClass) throws SQLException; in getSource()
424 <T extends Result> T setResult(Class<T> resultClass) throws SQLException; in setResult()
/libcore/ojluni/src/main/java/javax/sql/
DRowSet.java107 String getUrl() throws SQLException; in getUrl()
124 void setUrl(String url) throws SQLException; in setUrl()
150 void setDataSourceName(String name) throws SQLException; in setDataSourceName()
172 void setUsername(String name) throws SQLException; in setUsername()
193 void setPassword(String password) throws SQLException; in setPassword()
219 void setTransactionIsolation(int level) throws SQLException; in setTransactionIsolation()
234 java.util.Map<String,Class<?>> getTypeMap() throws SQLException; in getTypeMap()
247 void setTypeMap(java.util.Map<String,Class<?>> map) throws SQLException; in setTypeMap()
278 void setCommand(String cmd) throws SQLException; in setCommand()
303 void setReadOnly(boolean value) throws SQLException; in setReadOnly()
[all …]
DRowSetMetaData.java56 void setColumnCount(int columnCount) throws SQLException; in setColumnCount()
69 void setAutoIncrement(int columnIndex, boolean property) throws SQLException; in setAutoIncrement()
81 void setCaseSensitive(int columnIndex, boolean property) throws SQLException; in setCaseSensitive()
93 void setSearchable(int columnIndex, boolean property) throws SQLException; in setSearchable()
105 void setCurrency(int columnIndex, boolean property) throws SQLException; in setCurrency()
120 void setNullable(int columnIndex, int property) throws SQLException; in setNullable()
132 void setSigned(int columnIndex, boolean property) throws SQLException; in setSigned()
144 void setColumnDisplaySize(int columnIndex, int size) throws SQLException; in setColumnDisplaySize()
154 void setColumnLabel(int columnIndex, String label) throws SQLException; in setColumnLabel()
163 void setColumnName(int columnIndex, String columnName) throws SQLException; in setColumnName()
[all …]
/libcore/luni/src/test/java/tests/java/sql/
DDatabaseMetaDataNotSupportedTest.java33 import java.sql.SQLException;
64 } catch (SQLException e) { in setUp()
75 } catch (SQLException e) { in tearDown()
80 } catch (SQLException e) { in tearDown()
105 } catch (SQLException e) { in createTestTables()
115 } catch (SQLException e) { in deleteTestTables()
122 } catch (SQLException e) { in deleteTestTables()
131 public void test_allProceduresAreCallable() throws SQLException { in test_allProceduresAreCallable()
136 public void test_allTablesAreSelectable() throws SQLException { in test_allTablesAreSelectable()
179 public void test_dataDefinitionCausesTransactionCommit() throws SQLException { in test_dataDefinitionCausesTransactionCommit()
[all …]
DDatabaseMetaDataTest.java34 import java.sql.SQLException;
72 } catch (SQLException e) { in setUp()
83 } catch (SQLException e) { in tearDown()
88 } catch (SQLException e) { in tearDown()
113 } catch (SQLException e) { in createTestTables()
123 } catch (SQLException e) { in deleteTestTables()
130 } catch (SQLException e) { in deleteTestTables()
165 throws SQLException { in test_getBestRowIdentifierLjava_lang_StringLjava_lang_StringLjava_lang_StringIZ()
215 } catch (SQLException e) { in test_getBestRowIdentifierLjava_lang_StringLjava_lang_StringLjava_lang_StringIZ()
226 public void test_getColumnsArbitrary() throws SQLException { in test_getColumnsArbitrary()
[all …]
DUpdateFunctionalityTest2.java25 import java.sql.SQLException;
49 } catch (SQLException e) { in setUp()
102 } catch (SQLException e) { in createTestTables()
115 } catch (SQLException e) { in deleteTestTables()
124 public void testUpdate1() throws SQLException { in testUpdate1()
137 public void testUpdate2() throws SQLException { in testUpdate2()
143 } catch (SQLException ex) { in testUpdate2()
153 public void testUpdate3() throws SQLException { in testUpdate3()
168 public void testUpdate4() throws SQLException { in testUpdate4()
174 } catch (SQLException ex) { in testUpdate4()
[all …]
/libcore/luni/src/test/java/libcore/java/sql/
DOldResultSetMetaDataTest.java21 import java.sql.SQLException;
42 } catch (SQLException e) { in setUp()
48 public void tearDown() throws SQLException { in tearDown()
52 } catch (SQLException e) { in tearDown()
59 public void testGetCatalogName() throws SQLException { in testGetCatalogName()
62 } catch (SQLException e) { in testGetCatalogName()
70 } catch (SQLException e) { in testGetCatalogName()
81 } catch (SQLException e) { in testGetColumnClassName()
88 } catch (SQLException e) { in testGetColumnClassName()
95 } catch (SQLException e) { in testGetColumnClassName()
[all …]
DOldStatementTest.java22 import java.sql.SQLException;
31 public void testAddBatch() throws SQLException { in testAddBatch()
45 } catch (SQLException ee) { in testAddBatch()
54 } catch (SQLException e) { in testAddBatch()
59 } catch (SQLException ee) { in testAddBatch()
67 } catch (SQLException e) { in testAddBatch()
72 } catch (SQLException ee) { in testAddBatch()
77 public void testClearWarnings() throws SQLException { in testClearWarnings()
82 } catch (SQLException e) { in testClearWarnings()
87 } catch (SQLException ee) { in testClearWarnings()
[all …]
DOldConnectionTest.java25 import java.sql.SQLException;
32 public void testCreateStatement() throws SQLException { in testCreateStatement()
43 } catch (SQLException e) { in testCreateStatement()
49 public void testCreateStatement_int_int() throws SQLException { in testCreateStatement_int_int()
62 } catch (SQLException sqle) { in testCreateStatement_int_int()
83 } catch (SQLException sqle) { in testCreateStatement_int_int()
104 } catch (SQLException sqle) { in testCreateStatement_int_int()
129 } catch (SQLException sqle) { in testCreateStatement_int_int()
152 } catch (SQLException sqle) { in testCreateStatement_int_int()
169 } catch (SQLException sqle) { in testCreateStatement_int_int()
[all …]
DOldResultSetTest.java21 import java.sql.SQLException;
55 public void tearDown() throws SQLException { in tearDown()
61 public void testAbsolute() throws SQLException { in testAbsolute()
73 public void testAfterLast() throws SQLException { in testAfterLast()
85 } catch (SQLException e) { in testAfterLast()
90 public void testBeforeFirst() throws SQLException { in testBeforeFirst()
103 } catch (SQLException e) { in testBeforeFirst()
118 } catch (SQLException e) { in testClose1()
127 public void testClose() throws SQLException { in testClose()
151 } catch (SQLException sqle) { in testClose()
[all …]
DOldPreparedStatementTest.java34 import java.sql.SQLException;
98 public void tearDown() throws SQLException { in tearDown()
106 } catch (SQLException ee) { in tearDown()
112 public void testAddBatch() throws SQLException { in testAddBatch()
121 } catch (SQLException sqle) { in testAddBatch()
132 } catch (SQLException sqle) { in testAddBatch()
137 } catch (SQLException ee) { in testAddBatch()
143 } catch (SQLException ee) { in testAddBatch()
151 } catch (SQLException e) { in testAddBatch()
156 } catch (SQLException ee) { in testAddBatch()
[all …]

123