preparedstatementwrapper.java
来自「RESIN 3.2 最新源码」· Java 代码 · 共 1,116 行 · 第 1/2 页
JAVA
1,116 行
} } public void close() throws SQLException { Profiler profiler = _profilerPoint.start(); try { _preparedStatement.close(); } finally { profiler.finish(); } } public int getMaxFieldSize() throws SQLException { Profiler profiler = _profilerPoint.start(); try { return _preparedStatement.getMaxFieldSize(); } finally { profiler.finish(); } } public void setMaxFieldSize(int max) throws SQLException { Profiler profiler = _profilerPoint.start(); try { _preparedStatement.setMaxFieldSize(max); } finally { profiler.finish(); } } public int getMaxRows() throws SQLException { Profiler profiler = _profilerPoint.start(); try { return _preparedStatement.getMaxRows(); } finally { profiler.finish(); } } public void setMaxRows(int max) throws SQLException { Profiler profiler = _profilerPoint.start(); try { _preparedStatement.setMaxRows(max); } finally { profiler.finish(); } } public void setEscapeProcessing(boolean enable) throws SQLException { Profiler profiler = _profilerPoint.start(); try { _preparedStatement.setEscapeProcessing(enable); } finally { profiler.finish(); } } public int getQueryTimeout() throws SQLException { Profiler profiler = _profilerPoint.start(); try { return _preparedStatement.getQueryTimeout(); } finally { profiler.finish(); } } public void setQueryTimeout(int seconds) throws SQLException { Profiler profiler = _profilerPoint.start(); try { _preparedStatement.setQueryTimeout(seconds); } finally { profiler.finish(); } } public void cancel() throws SQLException { Profiler profiler = _profilerPoint.start(); try { _preparedStatement.cancel(); } finally { profiler.finish(); } } public SQLWarning getWarnings() throws SQLException { Profiler profiler = _profilerPoint.start(); try { return _preparedStatement.getWarnings(); } finally { profiler.finish(); } } public void clearWarnings() throws SQLException { Profiler profiler = _profilerPoint.start(); try { _preparedStatement.clearWarnings(); } finally { profiler.finish(); } } public void setCursorName(String name) throws SQLException { Profiler profiler = _profilerPoint.start(); try { _preparedStatement.setCursorName(name); } finally { profiler.finish(); } } public boolean execute(String sql) throws SQLException { Profiler profiler = _profilerPoint.start(); try { return _preparedStatement.execute(sql); } finally { profiler.finish(); } } public ResultSet getResultSet() throws SQLException { Profiler profiler = _profilerPoint.start(); try { return _preparedStatement.getResultSet(); } finally { profiler.finish(); } } public int getUpdateCount() throws SQLException { Profiler profiler = _profilerPoint.start(); try { return _preparedStatement.getUpdateCount(); } finally { profiler.finish(); } } public boolean getMoreResults() throws SQLException { Profiler profiler = _profilerPoint.start(); try { return _preparedStatement.getMoreResults(); } finally { profiler.finish(); } } public void setFetchDirection(int direction) throws SQLException { Profiler profiler = _profilerPoint.start(); try { _preparedStatement.setFetchDirection(direction); } finally { profiler.finish(); } } public int getFetchDirection() throws SQLException { Profiler profiler = _profilerPoint.start(); try { return _preparedStatement.getFetchDirection(); } finally { profiler.finish(); } } public void setFetchSize(int rows) throws SQLException { Profiler profiler = _profilerPoint.start(); try { _preparedStatement.setFetchSize(rows); } finally { profiler.finish(); } } public int getFetchSize() throws SQLException { Profiler profiler = _profilerPoint.start(); try { return _preparedStatement.getFetchSize(); } finally { profiler.finish(); } } public int getResultSetConcurrency() throws SQLException { Profiler profiler = _profilerPoint.start(); try { return _preparedStatement.getResultSetConcurrency(); } finally { profiler.finish(); } } public int getResultSetType() throws SQLException { Profiler profiler = _profilerPoint.start(); try { return _preparedStatement.getResultSetType(); } finally { profiler.finish(); } } public void addBatch(String sql) throws SQLException { Profiler profiler = _profilerPoint.start(); try { _preparedStatement.addBatch(sql); } finally { profiler.finish(); } } public void clearBatch() throws SQLException { Profiler profiler = _profilerPoint.start(); try { _preparedStatement.clearBatch(); } finally { profiler.finish(); } } public int[] executeBatch() throws SQLException { Profiler profiler = _profilerPoint.start(); try { return _preparedStatement.executeBatch(); } finally { profiler.finish(); } } public Connection getConnection() throws SQLException { Profiler profiler = _profilerPoint.start(); try { return _preparedStatement.getConnection(); } finally { profiler.finish(); } } public boolean getMoreResults(int current) throws SQLException { Profiler profiler = _profilerPoint.start(); try { return _preparedStatement.getMoreResults(current); } finally { profiler.finish(); } } public ResultSet getGeneratedKeys() throws SQLException { Profiler profiler = _profilerPoint.start(); try { return _preparedStatement.getGeneratedKeys(); } finally { profiler.finish(); } } public int executeUpdate(String sql, int autoGeneratedKeys) throws SQLException { Profiler profiler = _profilerPoint.start(); try { return _preparedStatement.executeUpdate(sql, autoGeneratedKeys); } finally { profiler.finish(); } } public int executeUpdate(String sql, int[] columnIndexes) throws SQLException { Profiler profiler = _profilerPoint.start(); try { return _preparedStatement.executeUpdate(sql, columnIndexes); } finally { profiler.finish(); } } public int executeUpdate(String sql, String[] columnNames) throws SQLException { Profiler profiler = _profilerPoint.start(); try { return _preparedStatement.executeUpdate(sql, columnNames); } finally { profiler.finish(); } } public boolean execute(String sql, int autoGeneratedKeys) throws SQLException { Profiler profiler = _profilerPoint.start(); try { return _preparedStatement.execute(sql, autoGeneratedKeys); } finally { profiler.finish(); } } public boolean execute(String sql, int[] columnIndexes) throws SQLException { Profiler profiler = _profilerPoint.start(); try { return _preparedStatement.execute(sql, columnIndexes); } finally { profiler.finish(); } } public boolean execute(String sql, String[] columnNames) throws SQLException { Profiler profiler = _profilerPoint.start(); try { return _preparedStatement.execute(sql, columnNames); } finally { profiler.finish(); } } public int getResultSetHoldability() throws SQLException { Profiler profiler = _profilerPoint.start(); try { return _preparedStatement.getResultSetHoldability(); } finally { profiler.finish(); } } public String toString() { return "PreparedStatementWrapper[" + _profilerPoint.getName() + "]"; } public void setRowId(int parameterIndex, RowId x) throws SQLException { throw new UnsupportedOperationException("Not supported yet."); } public void setNString(int parameterIndex, String value) throws SQLException { throw new UnsupportedOperationException("Not supported yet."); } public void setNCharacterStream(int parameterIndex, Reader value, long length) throws SQLException { throw new UnsupportedOperationException("Not supported yet."); } public void setNClob(int parameterIndex, NClob value) throws SQLException { throw new UnsupportedOperationException("Not supported yet."); } public void setClob(int parameterIndex, Reader reader, long length) throws SQLException { throw new UnsupportedOperationException("Not supported yet."); } public void setBlob(int parameterIndex, InputStream inputStream, long length) throws SQLException { throw new UnsupportedOperationException("Not supported yet."); } public void setNClob(int parameterIndex, Reader reader, long length) throws SQLException { throw new UnsupportedOperationException("Not supported yet."); } public void setSQLXML(int parameterIndex, SQLXML xmlObject) throws SQLException { throw new UnsupportedOperationException("Not supported yet."); } public void setAsciiStream(int parameterIndex, InputStream x, long length) throws SQLException { throw new UnsupportedOperationException("Not supported yet."); } public void setBinaryStream(int parameterIndex, InputStream x, long length) throws SQLException { throw new UnsupportedOperationException("Not supported yet."); } public void setCharacterStream(int parameterIndex, Reader reader, long length) throws SQLException { throw new UnsupportedOperationException("Not supported yet."); } public void setAsciiStream(int parameterIndex, InputStream x) throws SQLException { throw new UnsupportedOperationException("Not supported yet."); } public void setBinaryStream(int parameterIndex, InputStream x) throws SQLException { throw new UnsupportedOperationException("Not supported yet."); } public void setCharacterStream(int parameterIndex, Reader reader) throws SQLException { throw new UnsupportedOperationException("Not supported yet."); } public void setNCharacterStream(int parameterIndex, Reader value) throws SQLException { throw new UnsupportedOperationException("Not supported yet."); } public void setClob(int parameterIndex, Reader reader) throws SQLException { throw new UnsupportedOperationException("Not supported yet."); } public void setBlob(int parameterIndex, InputStream inputStream) throws SQLException { throw new UnsupportedOperationException("Not supported yet."); } public void setNClob(int parameterIndex, Reader reader) throws SQLException { throw new UnsupportedOperationException("Not supported yet."); } public boolean isClosed() throws SQLException { throw new UnsupportedOperationException("Not supported yet."); } public void setPoolable(boolean poolable) throws SQLException { throw new UnsupportedOperationException("Not supported yet."); } public boolean isPoolable() throws SQLException { throw new UnsupportedOperationException("Not supported yet."); } public <T> T unwrap(Class<T> iface) throws SQLException { throw new UnsupportedOperationException("Not supported yet."); } public boolean isWrapperFor(Class<?> iface) throws SQLException { throw new UnsupportedOperationException("Not supported yet."); }}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?