Package org.frankframework.jdbc
Class StoredProcedureResultWrapper
java.lang.Object
org.frankframework.jdbc.StoredProcedureResultWrapper
- All Implemented Interfaces:
AutoCloseable,ResultSet,Wrapper
-
Field Summary
Fields inherited from interface java.sql.ResultSet
CLOSE_CURSORS_AT_COMMIT, CONCUR_READ_ONLY, CONCUR_UPDATABLE, FETCH_FORWARD, FETCH_REVERSE, FETCH_UNKNOWN, HOLD_CURSORS_OVER_COMMIT, TYPE_FORWARD_ONLY, TYPE_SCROLL_INSENSITIVE, TYPE_SCROLL_SENSITIVE -
Constructor Summary
ConstructorsConstructorDescriptionStoredProcedureResultWrapper(IDbmsSupport dbmsSupport, CallableStatement delegate, ParameterMetaData parameterMetaData, Map<Integer, IParameter> parameterPositions) Class that wraps a CallableStatement to present its output-parameters as if they were aResultSet. -
Method Summary
Modifier and TypeMethodDescriptionbooleanabsolute(int row) voidvoidvoidvoidvoidclose()voidintfindColumn(String columnLabel) booleanfirst()getArray(int columnIndex) getAsciiStream(int columnIndex) getAsciiStream(String columnLabel) getBigDecimal(int columnIndex) getBigDecimal(int columnIndex, int scale) getBigDecimal(String columnLabel) getBigDecimal(String columnLabel, int scale) getBinaryStream(int columnIndex) getBinaryStream(String columnLabel) getBlob(int columnIndex) booleangetBoolean(int columnIndex) booleangetBoolean(String columnLabel) bytegetByte(int columnIndex) bytebyte[]getBytes(int columnIndex) byte[]getCharacterStream(int columnIndex) getCharacterStream(String columnLabel) getClob(int columnIndex) intgetDate(int columnIndex) doublegetDouble(int columnIndex) doubleintintfloatgetFloat(int columnIndex) floatintintgetInt(int columnIndex) intlonggetLong(int columnIndex) longgetNCharacterStream(int columnIndex) getNCharacterStream(String columnLabel) getNClob(int columnIndex) getNString(int columnIndex) getNString(String columnLabel) getObject(int columnIndex) <T> T<T> TgetRef(int columnIndex) intgetRow()getRowId(int columnIndex) shortgetShort(int columnIndex) shortgetSQLXML(int columnIndex) getString(int columnIndex) getTime(int columnIndex) getTimestamp(int columnIndex) getTimestamp(int columnIndex, Calendar cal) getTimestamp(String columnLabel) getTimestamp(String columnLabel, Calendar cal) intgetType()getUnicodeStream(int columnIndex) getUnicodeStream(String columnLabel) getURL(int columnIndex) voidbooleanbooleanbooleanisClosed()booleanisFirst()booleanisLast()booleanisWrapperFor(Class<?> iface) booleanlast()voidvoidbooleannext()booleanprevious()voidbooleanrelative(int rows) booleanbooleanbooleanvoidsetFetchDirection(int direction) voidsetFetchSize(int rows) <T> TvoidupdateArray(int columnIndex, Array x) voidupdateArray(String columnLabel, Array x) voidupdateAsciiStream(int columnIndex, InputStream x) voidupdateAsciiStream(int columnIndex, InputStream x, int length) voidupdateAsciiStream(int columnIndex, InputStream x, long length) voidupdateAsciiStream(String columnLabel, InputStream x) voidupdateAsciiStream(String columnLabel, InputStream x, int length) voidupdateAsciiStream(String columnLabel, InputStream x, long length) voidupdateBigDecimal(int columnIndex, BigDecimal x) voidupdateBigDecimal(String columnLabel, BigDecimal x) voidupdateBinaryStream(int columnIndex, InputStream x) voidupdateBinaryStream(int columnIndex, InputStream x, int length) voidupdateBinaryStream(int columnIndex, InputStream x, long length) voidupdateBinaryStream(String columnLabel, InputStream x) voidupdateBinaryStream(String columnLabel, InputStream x, int length) voidupdateBinaryStream(String columnLabel, InputStream x, long length) voidupdateBlob(int columnIndex, InputStream inputStream) voidupdateBlob(int columnIndex, InputStream inputStream, long length) voidupdateBlob(int columnIndex, Blob x) voidupdateBlob(String columnLabel, InputStream inputStream) voidupdateBlob(String columnLabel, InputStream inputStream, long length) voidupdateBlob(String columnLabel, Blob x) voidupdateBoolean(int columnIndex, boolean x) voidupdateBoolean(String columnLabel, boolean x) voidupdateByte(int columnIndex, byte x) voidupdateByte(String columnLabel, byte x) voidupdateBytes(int columnIndex, byte[] x) voidupdateBytes(String columnLabel, byte[] x) voidupdateCharacterStream(int columnIndex, Reader x) voidupdateCharacterStream(int columnIndex, Reader x, int length) voidupdateCharacterStream(int columnIndex, Reader x, long length) voidupdateCharacterStream(String columnLabel, Reader reader) voidupdateCharacterStream(String columnLabel, Reader reader, int length) voidupdateCharacterStream(String columnLabel, Reader reader, long length) voidupdateClob(int columnIndex, Reader reader) voidupdateClob(int columnIndex, Reader reader, long length) voidupdateClob(int columnIndex, Clob x) voidupdateClob(String columnLabel, Reader reader) voidupdateClob(String columnLabel, Reader reader, long length) voidupdateClob(String columnLabel, Clob x) voidupdateDate(int columnIndex, Date x) voidupdateDate(String columnLabel, Date x) voidupdateDouble(int columnIndex, double x) voidupdateDouble(String columnLabel, double x) voidupdateFloat(int columnIndex, float x) voidupdateFloat(String columnLabel, float x) voidupdateInt(int columnIndex, int x) voidvoidupdateLong(int columnIndex, long x) voidupdateLong(String columnLabel, long x) voidupdateNCharacterStream(int columnIndex, Reader x) voidupdateNCharacterStream(int columnIndex, Reader x, long length) voidupdateNCharacterStream(String columnLabel, Reader reader) voidupdateNCharacterStream(String columnLabel, Reader reader, long length) voidupdateNClob(int columnIndex, Reader reader) voidupdateNClob(int columnIndex, Reader reader, long length) voidupdateNClob(int columnIndex, NClob nClob) voidupdateNClob(String columnLabel, Reader reader) voidupdateNClob(String columnLabel, Reader reader, long length) voidupdateNClob(String columnLabel, NClob nClob) voidupdateNString(int columnIndex, String nString) voidupdateNString(String columnLabel, String nString) voidupdateNull(int columnIndex) voidupdateNull(String columnLabel) voidupdateObject(int columnIndex, Object x) voidupdateObject(int columnIndex, Object x, int scaleOrLength) voidupdateObject(String columnLabel, Object x) voidupdateObject(String columnLabel, Object x, int scaleOrLength) voidvoidvoidvoidupdateRowId(int columnIndex, RowId x) voidupdateRowId(String columnLabel, RowId x) voidupdateShort(int columnIndex, short x) voidupdateShort(String columnLabel, short x) voidupdateSQLXML(int columnIndex, SQLXML xmlObject) voidupdateSQLXML(String columnLabel, SQLXML xmlObject) voidupdateString(int columnIndex, String x) voidupdateString(String columnLabel, String x) voidupdateTime(int columnIndex, Time x) voidupdateTime(String columnLabel, Time x) voidupdateTimestamp(int columnIndex, Timestamp x) voidupdateTimestamp(String columnLabel, Timestamp x) booleanwasNull()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.sql.ResultSet
updateObject, updateObject, updateObject, updateObject
-
Constructor Details
-
StoredProcedureResultWrapper
public StoredProcedureResultWrapper(@Nonnull IDbmsSupport dbmsSupport, @Nonnull CallableStatement delegate, @Nonnull ParameterMetaData parameterMetaData, @Nonnull Map<Integer, IParameter> parameterPositions) Class that wraps a CallableStatement to present its output-parameters as if they were aResultSet.- Parameters:
delegate- TheCallableStatementto be wrappedparameterPositions- The position of each output-parameter in the overal list of stored procedure parameters
-
-
Method Details
-
next
- Specified by:
nextin interfaceResultSet- Throws:
SQLException
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceResultSet- Throws:
SQLException
-
wasNull
- Specified by:
wasNullin interfaceResultSet- Throws:
SQLException
-
getString
- Specified by:
getStringin interfaceResultSet- Throws:
SQLException
-
getBoolean
- Specified by:
getBooleanin interfaceResultSet- Throws:
SQLException
-
getByte
- Specified by:
getBytein interfaceResultSet- Throws:
SQLException
-
getShort
- Specified by:
getShortin interfaceResultSet- Throws:
SQLException
-
getInt
- Specified by:
getIntin interfaceResultSet- Throws:
SQLException
-
getLong
- Specified by:
getLongin interfaceResultSet- Throws:
SQLException
-
getFloat
- Specified by:
getFloatin interfaceResultSet- Throws:
SQLException
-
getDouble
- Specified by:
getDoublein interfaceResultSet- Throws:
SQLException
-
getBigDecimal
- Specified by:
getBigDecimalin interfaceResultSet- Throws:
SQLException
-
getBytes
- Specified by:
getBytesin interfaceResultSet- Throws:
SQLException
-
getDate
- Specified by:
getDatein interfaceResultSet- Throws:
SQLException
-
getTime
- Specified by:
getTimein interfaceResultSet- Throws:
SQLException
-
getTimestamp
- Specified by:
getTimestampin interfaceResultSet- Throws:
SQLException
-
getAsciiStream
- Specified by:
getAsciiStreamin interfaceResultSet
-
getUnicodeStream
- Specified by:
getUnicodeStreamin interfaceResultSet
-
getBinaryStream
- Specified by:
getBinaryStreamin interfaceResultSet
-
getString
- Specified by:
getStringin interfaceResultSet- Throws:
SQLException
-
getBoolean
- Specified by:
getBooleanin interfaceResultSet- Throws:
SQLException
-
getByte
- Specified by:
getBytein interfaceResultSet- Throws:
SQLException
-
getShort
- Specified by:
getShortin interfaceResultSet- Throws:
SQLException
-
getInt
- Specified by:
getIntin interfaceResultSet- Throws:
SQLException
-
getLong
- Specified by:
getLongin interfaceResultSet- Throws:
SQLException
-
getFloat
- Specified by:
getFloatin interfaceResultSet- Throws:
SQLException
-
getDouble
- Specified by:
getDoublein interfaceResultSet- Throws:
SQLException
-
getBigDecimal
- Specified by:
getBigDecimalin interfaceResultSet- Throws:
SQLException
-
getBytes
- Specified by:
getBytesin interfaceResultSet- Throws:
SQLException
-
getDate
- Specified by:
getDatein interfaceResultSet- Throws:
SQLException
-
getTime
- Specified by:
getTimein interfaceResultSet- Throws:
SQLException
-
getTimestamp
- Specified by:
getTimestampin interfaceResultSet- Throws:
SQLException
-
getAsciiStream
- Specified by:
getAsciiStreamin interfaceResultSet
-
getUnicodeStream
- Specified by:
getUnicodeStreamin interfaceResultSet
-
getBinaryStream
- Specified by:
getBinaryStreamin interfaceResultSet
-
getWarnings
- Specified by:
getWarningsin interfaceResultSet- Throws:
SQLException
-
clearWarnings
- Specified by:
clearWarningsin interfaceResultSet- Throws:
SQLException
-
getCursorName
- Specified by:
getCursorNamein interfaceResultSet
-
getMetaData
- Specified by:
getMetaDatain interfaceResultSet- Throws:
SQLException
-
getObject
- Specified by:
getObjectin interfaceResultSet- Throws:
SQLException
-
getObject
- Specified by:
getObjectin interfaceResultSet- Throws:
SQLException
-
findColumn
- Specified by:
findColumnin interfaceResultSet- Throws:
SQLException
-
getCharacterStream
- Specified by:
getCharacterStreamin interfaceResultSet- Throws:
SQLException
-
getCharacterStream
- Specified by:
getCharacterStreamin interfaceResultSet- Throws:
SQLException
-
getBigDecimal
- Specified by:
getBigDecimalin interfaceResultSet- Throws:
SQLException
-
getBigDecimal
- Specified by:
getBigDecimalin interfaceResultSet- Throws:
SQLException
-
isBeforeFirst
public boolean isBeforeFirst()- Specified by:
isBeforeFirstin interfaceResultSet
-
isAfterLast
public boolean isAfterLast()- Specified by:
isAfterLastin interfaceResultSet
-
isFirst
public boolean isFirst() -
isLast
public boolean isLast() -
beforeFirst
public void beforeFirst()- Specified by:
beforeFirstin interfaceResultSet
-
afterLast
public void afterLast() -
first
- Specified by:
firstin interfaceResultSet- Throws:
SQLException
-
last
- Specified by:
lastin interfaceResultSet- Throws:
SQLException
-
getRow
public int getRow() -
absolute
- Specified by:
absolutein interfaceResultSet- Throws:
SQLException
-
relative
- Specified by:
relativein interfaceResultSet- Throws:
SQLException
-
previous
- Specified by:
previousin interfaceResultSet- Throws:
SQLException
-
setFetchDirection
public void setFetchDirection(int direction) - Specified by:
setFetchDirectionin interfaceResultSet
-
getFetchDirection
public int getFetchDirection()- Specified by:
getFetchDirectionin interfaceResultSet
-
setFetchSize
public void setFetchSize(int rows) - Specified by:
setFetchSizein interfaceResultSet
-
getFetchSize
public int getFetchSize()- Specified by:
getFetchSizein interfaceResultSet
-
getType
- Specified by:
getTypein interfaceResultSet- Throws:
SQLException
-
getConcurrency
public int getConcurrency()- Specified by:
getConcurrencyin interfaceResultSet
-
rowUpdated
public boolean rowUpdated()- Specified by:
rowUpdatedin interfaceResultSet
-
rowInserted
public boolean rowInserted()- Specified by:
rowInsertedin interfaceResultSet
-
rowDeleted
public boolean rowDeleted()- Specified by:
rowDeletedin interfaceResultSet
-
updateNull
public void updateNull(int columnIndex) - Specified by:
updateNullin interfaceResultSet
-
updateBoolean
public void updateBoolean(int columnIndex, boolean x) - Specified by:
updateBooleanin interfaceResultSet
-
updateByte
public void updateByte(int columnIndex, byte x) - Specified by:
updateBytein interfaceResultSet
-
updateShort
public void updateShort(int columnIndex, short x) - Specified by:
updateShortin interfaceResultSet
-
updateInt
public void updateInt(int columnIndex, int x) -
updateLong
public void updateLong(int columnIndex, long x) - Specified by:
updateLongin interfaceResultSet
-
updateFloat
public void updateFloat(int columnIndex, float x) - Specified by:
updateFloatin interfaceResultSet
-
updateDouble
public void updateDouble(int columnIndex, double x) - Specified by:
updateDoublein interfaceResultSet
-
updateBigDecimal
- Specified by:
updateBigDecimalin interfaceResultSet
-
updateString
- Specified by:
updateStringin interfaceResultSet
-
updateBytes
public void updateBytes(int columnIndex, byte[] x) - Specified by:
updateBytesin interfaceResultSet
-
updateDate
- Specified by:
updateDatein interfaceResultSet
-
updateTime
- Specified by:
updateTimein interfaceResultSet
-
updateTimestamp
- Specified by:
updateTimestampin interfaceResultSet
-
updateAsciiStream
- Specified by:
updateAsciiStreamin interfaceResultSet
-
updateBinaryStream
- Specified by:
updateBinaryStreamin interfaceResultSet
-
updateCharacterStream
- Specified by:
updateCharacterStreamin interfaceResultSet
-
updateObject
- Specified by:
updateObjectin interfaceResultSet
-
updateObject
- Specified by:
updateObjectin interfaceResultSet
-
updateNull
- Specified by:
updateNullin interfaceResultSet
-
updateBoolean
- Specified by:
updateBooleanin interfaceResultSet
-
updateByte
- Specified by:
updateBytein interfaceResultSet
-
updateShort
- Specified by:
updateShortin interfaceResultSet
-
updateInt
-
updateLong
- Specified by:
updateLongin interfaceResultSet
-
updateFloat
- Specified by:
updateFloatin interfaceResultSet
-
updateDouble
- Specified by:
updateDoublein interfaceResultSet
-
updateBigDecimal
- Specified by:
updateBigDecimalin interfaceResultSet
-
updateString
- Specified by:
updateStringin interfaceResultSet
-
updateBytes
- Specified by:
updateBytesin interfaceResultSet
-
updateDate
- Specified by:
updateDatein interfaceResultSet
-
updateTime
- Specified by:
updateTimein interfaceResultSet
-
updateTimestamp
- Specified by:
updateTimestampin interfaceResultSet
-
updateAsciiStream
- Specified by:
updateAsciiStreamin interfaceResultSet
-
updateBinaryStream
- Specified by:
updateBinaryStreamin interfaceResultSet
-
updateCharacterStream
- Specified by:
updateCharacterStreamin interfaceResultSet
-
updateObject
- Specified by:
updateObjectin interfaceResultSet
-
updateObject
- Specified by:
updateObjectin interfaceResultSet
-
insertRow
public void insertRow() -
updateRow
public void updateRow() -
deleteRow
public void deleteRow() -
refreshRow
public void refreshRow()- Specified by:
refreshRowin interfaceResultSet
-
cancelRowUpdates
public void cancelRowUpdates()- Specified by:
cancelRowUpdatesin interfaceResultSet
-
moveToInsertRow
public void moveToInsertRow()- Specified by:
moveToInsertRowin interfaceResultSet
-
moveToCurrentRow
public void moveToCurrentRow()- Specified by:
moveToCurrentRowin interfaceResultSet
-
getStatement
- Specified by:
getStatementin interfaceResultSet- Throws:
SQLException
-
getObject
- Specified by:
getObjectin interfaceResultSet- Throws:
SQLException
-
getRef
- Specified by:
getRefin interfaceResultSet- Throws:
SQLException
-
getBlob
- Specified by:
getBlobin interfaceResultSet- Throws:
SQLException
-
getClob
- Specified by:
getClobin interfaceResultSet- Throws:
SQLException
-
getArray
- Specified by:
getArrayin interfaceResultSet- Throws:
SQLException
-
getObject
- Specified by:
getObjectin interfaceResultSet- Throws:
SQLException
-
getRef
- Specified by:
getRefin interfaceResultSet- Throws:
SQLException
-
getBlob
- Specified by:
getBlobin interfaceResultSet- Throws:
SQLException
-
getClob
- Specified by:
getClobin interfaceResultSet- Throws:
SQLException
-
getArray
- Specified by:
getArrayin interfaceResultSet- Throws:
SQLException
-
getDate
- Specified by:
getDatein interfaceResultSet- Throws:
SQLException
-
getDate
- Specified by:
getDatein interfaceResultSet- Throws:
SQLException
-
getTime
- Specified by:
getTimein interfaceResultSet- Throws:
SQLException
-
getTime
- Specified by:
getTimein interfaceResultSet- Throws:
SQLException
-
getTimestamp
- Specified by:
getTimestampin interfaceResultSet- Throws:
SQLException
-
getTimestamp
- Specified by:
getTimestampin interfaceResultSet- Throws:
SQLException
-
getURL
- Specified by:
getURLin interfaceResultSet- Throws:
SQLException
-
getURL
- Specified by:
getURLin interfaceResultSet- Throws:
SQLException
-
updateRef
-
updateRef
-
updateBlob
- Specified by:
updateBlobin interfaceResultSet- Throws:
SQLException
-
updateBlob
- Specified by:
updateBlobin interfaceResultSet- Throws:
SQLException
-
updateClob
- Specified by:
updateClobin interfaceResultSet- Throws:
SQLException
-
updateClob
- Specified by:
updateClobin interfaceResultSet- Throws:
SQLException
-
updateArray
- Specified by:
updateArrayin interfaceResultSet
-
updateArray
- Specified by:
updateArrayin interfaceResultSet
-
getRowId
-
getRowId
-
updateRowId
- Specified by:
updateRowIdin interfaceResultSet
-
updateRowId
- Specified by:
updateRowIdin interfaceResultSet
-
getHoldability
public int getHoldability()- Specified by:
getHoldabilityin interfaceResultSet
-
isClosed
- Specified by:
isClosedin interfaceResultSet- Throws:
SQLException
-
updateNString
- Specified by:
updateNStringin interfaceResultSet
-
updateNString
- Specified by:
updateNStringin interfaceResultSet
-
updateNClob
- Specified by:
updateNClobin interfaceResultSet
-
updateNClob
- Specified by:
updateNClobin interfaceResultSet
-
getNClob
- Specified by:
getNClobin interfaceResultSet- Throws:
SQLException
-
getNClob
- Specified by:
getNClobin interfaceResultSet- Throws:
SQLException
-
getSQLXML
- Specified by:
getSQLXMLin interfaceResultSet- Throws:
SQLException
-
getSQLXML
- Specified by:
getSQLXMLin interfaceResultSet- Throws:
SQLException
-
updateSQLXML
- Specified by:
updateSQLXMLin interfaceResultSet
-
updateSQLXML
- Specified by:
updateSQLXMLin interfaceResultSet
-
getNString
- Specified by:
getNStringin interfaceResultSet- Throws:
SQLException
-
getNString
- Specified by:
getNStringin interfaceResultSet- Throws:
SQLException
-
getNCharacterStream
- Specified by:
getNCharacterStreamin interfaceResultSet- Throws:
SQLException
-
getNCharacterStream
- Specified by:
getNCharacterStreamin interfaceResultSet- Throws:
SQLException
-
updateNCharacterStream
- Specified by:
updateNCharacterStreamin interfaceResultSet
-
updateNCharacterStream
- Specified by:
updateNCharacterStreamin interfaceResultSet
-
updateAsciiStream
- Specified by:
updateAsciiStreamin interfaceResultSet
-
updateBinaryStream
- Specified by:
updateBinaryStreamin interfaceResultSet
-
updateCharacterStream
- Specified by:
updateCharacterStreamin interfaceResultSet
-
updateAsciiStream
- Specified by:
updateAsciiStreamin interfaceResultSet
-
updateBinaryStream
- Specified by:
updateBinaryStreamin interfaceResultSet
-
updateCharacterStream
- Specified by:
updateCharacterStreamin interfaceResultSet
-
updateBlob
- Specified by:
updateBlobin interfaceResultSet- Throws:
SQLException
-
updateBlob
public void updateBlob(String columnLabel, InputStream inputStream, long length) throws SQLException - Specified by:
updateBlobin interfaceResultSet- Throws:
SQLException
-
updateClob
- Specified by:
updateClobin interfaceResultSet- Throws:
SQLException
-
updateClob
- Specified by:
updateClobin interfaceResultSet- Throws:
SQLException
-
updateNClob
- Specified by:
updateNClobin interfaceResultSet
-
updateNClob
- Specified by:
updateNClobin interfaceResultSet
-
updateNCharacterStream
- Specified by:
updateNCharacterStreamin interfaceResultSet
-
updateNCharacterStream
- Specified by:
updateNCharacterStreamin interfaceResultSet
-
updateAsciiStream
- Specified by:
updateAsciiStreamin interfaceResultSet
-
updateBinaryStream
- Specified by:
updateBinaryStreamin interfaceResultSet
-
updateCharacterStream
- Specified by:
updateCharacterStreamin interfaceResultSet
-
updateAsciiStream
- Specified by:
updateAsciiStreamin interfaceResultSet
-
updateBinaryStream
- Specified by:
updateBinaryStreamin interfaceResultSet
-
updateCharacterStream
- Specified by:
updateCharacterStreamin interfaceResultSet
-
updateBlob
- Specified by:
updateBlobin interfaceResultSet- Throws:
SQLException
-
updateBlob
- Specified by:
updateBlobin interfaceResultSet- Throws:
SQLException
-
updateClob
- Specified by:
updateClobin interfaceResultSet- Throws:
SQLException
-
updateClob
- Specified by:
updateClobin interfaceResultSet- Throws:
SQLException
-
updateNClob
- Specified by:
updateNClobin interfaceResultSet
-
updateNClob
- Specified by:
updateNClobin interfaceResultSet
-
getObject
- Specified by:
getObjectin interfaceResultSet- Throws:
SQLException
-
getObject
- Specified by:
getObjectin interfaceResultSet- Throws:
SQLException
-
unwrap
- Specified by:
unwrapin interfaceWrapper- Throws:
SQLException
-
isWrapperFor
- Specified by:
isWrapperForin interfaceWrapper- Throws:
SQLException
-