org.sourceforge.jxutil.sql
Class XAbstractRowSet
java.lang.Object
|
+--org.sourceforge.jxutil.sql.ParameterContainer
|
+--org.sourceforge.jxutil.sql.XAbstractRowSet
- All Implemented Interfaces:
- ResultSet, RowSet
- Direct Known Subclasses:
- XCachedRowSet, XRSProxyRowSet
- public abstract class XAbstractRowSet
- extends ParameterContainer
- implements RowSet
XAbstractRowSet implements RowSet.
Things left abstract:
- RowSet.execute
- ResultSet.findColumn, getMetaData, getStatement,
- ResultSet.absolute, afterLast, beforeFirst, first, getRow, isAfterLast, isBeforeFirst, isFirst, istLast, last, next, previous, relative,
- ResultSet.getXY, updateXY, wasNull
- ResultSet.cancelRowUpdates, deleteRow, insertRow, moveToCurrentRow, moveToInsertRow, refreshRow, rowDeleted, rowInserted, rowUpdated,
- ResultSet.clearWarnings, close, getWarnings
- ResultSet.getFetchDirection, getFetchSize, getType, setFetchDirection, setFetchSize
- Version:
- 0.1, 01/05/23
- Author:
- Keve Müller
Nested classes inherited from class org.sourceforge.jxutil.sql.ParameterContainer |
ParameterContainer.AStreamParameter, ParameterContainer.BStreamParameter, ParameterContainer.DateCalParameter, ParameterContainer.NullTypeNameParameter, ParameterContainer.NullTypeParameter, ParameterContainer.ObjParameter, ParameterContainer.ObjTargetParameter, ParameterContainer.ObjTargetScaleParameter, ParameterContainer.Parameter, ParameterContainer.ReaderParameter, ParameterContainer.StreamParameter, ParameterContainer.StringParameter, ParameterContainer.TimeCalParameter, ParameterContainer.TimestampCalParameter |
Methods inherited from class org.sourceforge.jxutil.sql.ParameterContainer |
clearParameters, replayParameters, setArray, setAsciiStream, setBigDecimal, setBinaryStream, setBlob, setBoolean, setByte, setBytes, setCharacterStream, setClob, setDate, setDate, setDouble, setFloat, setInt, setLong, setNull, setNull, setObject, setObject, setObject, setRef, setShort, setString, setTime, setTime, setTimestamp, setTimestamp, setURL |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface javax.sql.RowSet |
clearParameters, execute, setArray, setAsciiStream, setBigDecimal, setBinaryStream, setBlob, setBoolean, setByte, setBytes, setCharacterStream, setClob, setDate, setDate, setDouble, setFloat, setInt, setLong, setNull, setNull, setObject, setObject, setObject, setRef, setShort, setString, setTime, setTime, setTimestamp, setTimestamp |
Methods inherited from interface java.sql.ResultSet |
absolute, afterLast, beforeFirst, cancelRowUpdates, clearWarnings, close, deleteRow, findColumn, first, getArray, getArray, getAsciiStream, getAsciiStream, getBigDecimal, getBigDecimal, getBigDecimal, getBigDecimal, getBinaryStream, getBinaryStream, getBlob, getBlob, getBoolean, getBoolean, getByte, getByte, getBytes, getBytes, getCharacterStream, getCharacterStream, getClob, getClob, getConcurrency, getCursorName, getDate, getDate, getDate, getDate, getDouble, getDouble, getFetchDirection, getFetchSize, getFloat, getFloat, getInt, getInt, getLong, getLong, getMetaData, getObject, getObject, getObject, getObject, getRef, getRef, getRow, getShort, getShort, getStatement, getString, getString, getTime, getTime, getTime, getTime, getTimestamp, getTimestamp, getTimestamp, getTimestamp, getType, getUnicodeStream, getUnicodeStream, getURL, getURL, getWarnings, insertRow, isAfterLast, isBeforeFirst, isFirst, isLast, last, moveToCurrentRow, moveToInsertRow, next, previous, refreshRow, relative, rowDeleted, rowInserted, rowUpdated, setFetchDirection, setFetchSize, updateArray, updateArray, updateAsciiStream, updateAsciiStream, updateBigDecimal, updateBigDecimal, updateBinaryStream, updateBinaryStream, updateBlob, updateBlob, updateBoolean, updateBoolean, updateByte, updateByte, updateBytes, updateBytes, updateCharacterStream, updateCharacterStream, updateClob, updateClob, updateDate, updateDate, updateDouble, updateDouble, updateFloat, updateFloat, updateInt, updateInt, updateLong, updateLong, updateNull, updateNull, updateObject, updateObject, updateObject, updateObject, updateRef, updateRef, updateRow, updateShort, updateShort, updateString, updateString, updateTime, updateTime, updateTimestamp, updateTimestamp, wasNull |
command
protected String command
concurrency
protected int concurrency
dataSourceName
protected String dataSourceName
escapeProcessing
protected boolean escapeProcessing
listeners
Vector listeners
maxFieldSize
protected int maxFieldSize
maxRows
protected int maxRows
password
protected String password
queryTimeout
protected int queryTimeout
readOnly
protected boolean readOnly
transactionIsolation
protected int transactionIsolation
type
protected int type
typeMap
protected Map typeMap
url
protected String url
username
protected String username
XAbstractRowSet
protected XAbstractRowSet()
addRowSetListener
public void addRowSetListener(RowSetListener listener)
- Specified by:
addRowSetListener
in interface RowSet
fireCursorMove
public void fireCursorMove(RowSetEvent ev)
fireRowChange
public void fireRowChange(RowSetEvent ev)
fireRowSetChange
public void fireRowSetChange(RowSetEvent ev)
getCommand
public String getCommand()
- Specified by:
getCommand
in interface RowSet
getDataSourceName
public String getDataSourceName()
- Specified by:
getDataSourceName
in interface RowSet
getEscapeProcessing
public boolean getEscapeProcessing()
- Specified by:
getEscapeProcessing
in interface RowSet
getMaxFieldSize
public int getMaxFieldSize()
- Specified by:
getMaxFieldSize
in interface RowSet
getMaxRows
public int getMaxRows()
- Specified by:
getMaxRows
in interface RowSet
getPassword
public String getPassword()
- Specified by:
getPassword
in interface RowSet
getQueryTimeout
public int getQueryTimeout()
- Specified by:
getQueryTimeout
in interface RowSet
getTransactionIsolation
public int getTransactionIsolation()
- Specified by:
getTransactionIsolation
in interface RowSet
getTypeMap
public Map getTypeMap()
- Specified by:
getTypeMap
in interface RowSet
getUrl
public String getUrl()
- Specified by:
getUrl
in interface RowSet
getUsername
public String getUsername()
- Specified by:
getUsername
in interface RowSet
isReadOnly
public boolean isReadOnly()
- Specified by:
isReadOnly
in interface RowSet
prepareConnection
protected Connection prepareConnection()
throws SQLException
SQLException
prepareStatement
protected PreparedStatement prepareStatement(Connection conn)
throws SQLException
SQLException
removeRowSetListener
public void removeRowSetListener(RowSetListener listener)
- Specified by:
removeRowSetListener
in interface RowSet
setCommand
public void setCommand(String command)
- Specified by:
setCommand
in interface RowSet
setConcurrency
public void setConcurrency(int concurrency)
- Specified by:
setConcurrency
in interface RowSet
setDataSourceName
public void setDataSourceName(String dataSourceName)
- Specified by:
setDataSourceName
in interface RowSet
setEscapeProcessing
public void setEscapeProcessing(boolean escapeProcessing)
- Specified by:
setEscapeProcessing
in interface RowSet
setMaxFieldSize
public void setMaxFieldSize(int maxFieldSize)
- Specified by:
setMaxFieldSize
in interface RowSet
setMaxRows
public void setMaxRows(int maxRows)
- Specified by:
setMaxRows
in interface RowSet
setPassword
public void setPassword(String password)
- Specified by:
setPassword
in interface RowSet
setQueryTimeout
public void setQueryTimeout(int queryTimeout)
- Specified by:
setQueryTimeout
in interface RowSet
setReadOnly
public void setReadOnly(boolean readOnly)
- Specified by:
setReadOnly
in interface RowSet
setTransactionIsolation
public void setTransactionIsolation(int transactionIsolation)
- Specified by:
setTransactionIsolation
in interface RowSet
setType
public void setType(int type)
- Specified by:
setType
in interface RowSet
setTypeMap
public void setTypeMap(Map typeMap)
- Specified by:
setTypeMap
in interface RowSet
setUrl
public void setUrl(String url)
- Specified by:
setUrl
in interface RowSet
setUsername
public void setUsername(String username)
- Specified by:
setUsername
in interface RowSet
Copyright © 2001,2002 Keve Müller, et al.; see LICENSE file for details.