更新时间:2024-11-28 GMT+08:00
分享

不支持的接口

SDK中部分jdbc相关接口不支持,详细见SDK中com.huawei.devspore.datasource.jdbc.unsupported包。下面列出了Connection、PreparedStatement、ResultSet中的部分不支持接口,如下:

  • Connection接口。
    CallableStatement prepareCall(String sql) throws SQLException;
    
    CallableStatement prepareCall(String sql, int resultSetType, int resultSetConcurrency)
                throws SQLException;
    
    CallableStatement prepareCall(
                String sql, int resultSetType, int resultSetConcurrency, int resultSetHoldability) throws SQLException;
    
    String nativeSQL(final String sql) throws SQLException;
    
    Savepoint setSavepoint() throws SQLException;
    
    Savepoint setSavepoint(String name) throws SQLException;
    
    void releaseSavepoint(Savepoint savepoint) throws SQLException;
    
    void rollback(Savepoint savepoint) throws SQLException;
    
    void abort(Executor executor) throws SQLException;
    
    Map<String, Class<?>> getTypeMap() throws SQLException;
    
    void setTypeMap(Map<String, Class<?>> map) throws SQLException;
    
    int getNetworkTimeout() throws SQLException;
    
    void setNetworkTimeout(Executor executor, int milliseconds) throws SQLException;
    
    Clob createClob() throws SQLException;
    
    Blob createBlob() throws SQLException;
    
    NClob createNClob() throws SQLException;
    
    SQLXML createSQLXML() throws SQLException;
    
    Struct createStruct(final String typeName, final Object[] attributes) throws SQLException;
    
    Properties getClientInfo() throws SQLException;
    
    String getClientInfo(String name) throws SQLException;
    
    void setClientInfo(String name, String value);
    
    void setClientInfo(Properties props);
    
    void setCatalog(String catalog) throws SQLException;
    
    void setHoldability(final int holdability) throws SQLException;
    
    String getSchema() throws SQLException;
    
    void setSchema(final String schema) throws SQLException;
  • PreparedStatement接口。
    void setNString(int parameterIndex, String x) throws SQLException;
    
    void setNClob(int parameterIndex, NClob x) throws SQLException;
    
    void setNClob(int parameterIndex, Reader x) throws SQLException;
    
    void setNClob(int parameterIndex, Reader x, long length) throws SQLException;
    
    void setNCharacterStream(int parameterIndex, Reader x) throws SQLException;
    
    void setNCharacterStream(int parameterIndex, Reader x, long length);
    
    void setRowId(int parameterIndex, RowId x) throws SQLException;
    
    void setRef(int parameterIndex, Ref x) throws SQLException;
  • ResultSet接口。
    void updateNull(int columnIndex) throws SQLException;
    
    void updateNull(String columnLabel) throws SQLException;
    
    void updateBoolean(int columnIndex, boolean x) throws SQLException;
    
    void updateBoolean(String columnLabel, boolean x) throws SQLException;
    
    void updateByte(int columnIndex, byte x) throws SQLException;
    
    void updateByte(String columnLabel, byte x) throws SQLException;
    
    void updateShort(int columnIndex, short x) throws SQLException;
    
    void updateShort(String columnLabel, short x) throws SQLException;
    
    void updateInt(int columnIndex, int x) throws SQLException;
    
    void updateInt(String columnLabel, int x) throws SQLException;
    
    void updateLong(int columnIndex, long x) throws SQLException;
    
    void updateLong(String columnLabel, long x) throws SQLException;
    
    void updateFloat(int columnIndex, float x) throws SQLException;
    
    void updateFloat(String columnLabel, float x) throws SQLException;
    
    void updateDouble(int columnIndex, double x) throws SQLException;
    
    void updateDouble(String columnLabel, double x) throws SQLException;
    
    void updateBigDecimal(int columnIndex, BigDecimal x) throws SQLException;
    
    void updateBigDecimal(String columnLabel, BigDecimal x) throws SQLException;
    
    void updateString(final int columnIndex, final String x) throws SQLException;
    
    void updateString(String columnLabel, String x) throws SQLException;
    
    void updateNString(int columnIndex, String nString) throws SQLException;
    
    void updateNString(String columnLabel, String nString) throws SQLException;
    
    void updateBytes(int columnIndex, byte[] x) throws SQLException;
    
    void updateBytes(String columnLabel, byte[] x) throws SQLException;
    
    void updateDate(int columnIndex, Date x) throws SQLException;
    
    void updateDate(String columnLabel, final Date x) throws SQLException;
    
    void updateTime(int columnIndex, Time x) throws SQLException;
    
    void updateTime(String columnLabel, Time x) throws SQLException;
    
    void updateTimestamp(int columnIndex, Timestamp x) throws SQLException;
    
    void updateTimestamp(String columnLabel, Timestamp x) throws SQLException;
    
    void updateAsciiStream(int columnIndex, InputStream inputStream) throws SQLException;
    
    void updateAsciiStream(String columnLabel, InputStream inputStream) throws SQLException;
    
    void updateAsciiStream(int columnIndex, InputStream x, final int length);
    
    void updateAsciiStream(String columnLabel, InputStream x, final int length);
    
    void updateAsciiStream(int columnIndex, InputStream inputStream, long length);
    
    void updateAsciiStream(String columnLabel, InputStream inputStream, long length);
    
    void updateBinaryStream(int columnIndex, InputStream x) throws SQLException ;
    
    void updateBinaryStream(String columnLabel, InputStream x) throws SQLException;
    
    void updateBinaryStream(int columnIndex, InputStream x, int length)
                throws SQLException;
    
    void updateBinaryStream(String columnLabel, final InputStream x, final int length)
                throws SQLException;
    
    void updateBinaryStream(int columnIndex, InputStream x, long length)
                throws SQLException;
    
    void updateBinaryStream(String columnLabel, InputStream x, long length)
                throws SQLException;
    
    void updateCharacterStream(int columnIndex, Reader x) throws SQLException;
    
    void updateCharacterStream(String columnLabel, Reader x) throws SQLException;
    
    void updateCharacterStream(int columnIndex, Reader x, int length)
                throws SQLException;
    
    void updateCharacterStream(String columnLabel, Reader reader, int length);
    
    void updateCharacterStream(int columnIndex, Reader x, long length)
                throws SQLException;
    
    void updateCharacterStream(String columnLabel, Reader reader, long length)
                throws SQLException;
    
    void updateNCharacterStream(int columnIndex, Reader x) throws SQLException;
    
    void updateNCharacterStream(String columnLabel, Reader x) throws SQLException;
    
    void updateNCharacterStream(int columnIndex, Reader x, long length)
                throws SQLException;
    
    void updateNCharacterStream(String columnLabel, Reader x, long length)
                throws SQLException;
    
    void updateObject(int columnIndex, Object x) throws SQLException;
    
    void updateObject(String columnLabel, Object x) throws SQLException;
    
    void updateObject(int columnIndex, Object x, int scaleOrLength) throws SQLException;
    
    void updateObject(String columnLabel, Object x, int scaleOrLength)
                throws SQLException;
    
    void updateRef(int columnIndex, Ref x) throws SQLException;
    
    void updateRef(String columnLabel, Ref x) throws SQLException;
    
    void updateBlob(int columnIndex, Blob x) throws SQLException;
    
    void updateBlob(String columnLabel, Blob x) throws SQLException;
    
    void updateBlob(int columnIndex, InputStream inputStream) throws SQLException;
    
    void updateBlob(String columnLabel, InputStream inputStream) throws SQLException;
    
    void updateBlob(int columnIndex, InputStream inputStream, long length)
                throws SQLException;
    
    void updateBlob(String columnLabel, InputStream inputStream, long length)
                throws SQLException;
    
    void updateClob(int columnIndex, Clob x) throws SQLException;
    
    void updateClob(String columnLabel, Clob x) throws SQLException;
    
    void updateClob(int columnIndex, Reader reader) throws SQLException;
    
    void updateClob(String columnLabel, Reader reader) throws SQLException;
    
    void updateClob(int columnIndex, Reader reader, long length) throws SQLException;
    
    void updateClob(String columnLabel, Reader reader, long length) throws SQLException;
    
    void updateNClob(int columnIndex, NClob nClob) throws SQLException;
    
    void updateNClob(String columnLabel, NClob nClob) throws SQLException;
    
    void updateNClob(int columnIndex, Reader reader) throws SQLException;
    
    void updateNClob(String columnLabel, Reader reader) throws SQLException;
    
    void updateNClob(int columnIndex, Reader reader, long length) throws SQLException;
    
    void updateNClob(String columnLabel, Reader reader, long length) throws SQLException;
    
    void updateArray(int columnIndex, Array x) throws SQLException;
    
    void updateArray(String columnLabel, Array x) throws SQLException;
    
    void updateRowId(int columnIndex, RowId x) throws SQLException;
    
    void updateRowId(String columnLabel, RowId x) throws SQLException;
    
    void updateSQLXML(int columnIndex, SQLXML xmlObject) throws SQLException;
    
    void updateSQLXML(String columnLabel, SQLXML xmlObject) throws SQLException;

相关文档