|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.nqadmin.swingSet.datasources.SSRowSetAdapter
com.nqadmin.swingSet.datasources.SSJdbcRowSetImpl
public class SSJdbcRowSetImpl
SSJdbcRowSetImpl.java
SwingSet - Open Toolkit For Making Swing Controls Database-Aware
The SSJdbcRowSetImpl class is a wrapper for JdbcRowSetImpl. It provides all rowset-related functionality for linking SwingSet components to an SSConnection.
| Constructor Summary | |
|---|---|
SSJdbcRowSetImpl()
Constructs a default SSJdbcRowSetImpl object. |
|
SSJdbcRowSetImpl(SSConnection _ssConnection)
Constructs a SSJdbcRowSetImpl object with the specified SSConnection. |
|
SSJdbcRowSetImpl(SSConnection _ssConnection,
java.lang.String _command)
Constructs a SSJdbcRowSetImpl object with the specified SSConnection & command. |
|
| Method Summary | |
|---|---|
boolean |
absolute(int row)
Moves the cursor to the given row number in this ResultSet object. |
void |
addPropertyChangeListener(java.beans.PropertyChangeListener _listener)
Method to add bean property change listeners. |
void |
addRowSetListener(javax.sql.RowSetListener listener)
The listener will be notified whenever an event occurs on this RowSet object. |
void |
addVetoableChangeListener(java.beans.VetoableChangeListener _listener)
Method to add bean vetoable change listeners. |
void |
beforeFirst()
Moves the cursor to the front of this ResultSet object, just before the first row. |
void |
cancelRowUpdates()
Cancels the updates made to the current row in this ResultSet object. |
void |
deleteRow()
Deletes the current row from this ResultSet object and from the underlying database. |
void |
execute()
Fills this RowSet object with data. |
boolean |
first()
Moves the cursor to the first row in this ResultSet object. |
boolean |
getBoolean(int columnIndex)
Retrieves the value of the designated column in the current row of this DataSet object as a boolean in the Java programming language. |
boolean |
getBoolean(java.lang.String columnName)
Retrieves the value of the designated column in the current row of this DataSet object as a boolean in the Java programming language. |
byte[] |
getBytes(int columnIndex)
Retrieves the value of the designated column in the current row of this ResultSet object as a byte array in the Java programming language. |
byte[] |
getBytes(java.lang.String columnName)
Retrieves the value of the designated column in the current row of this ResultSet object as a byte array in the Java programming language. |
int |
getColumnCount()
Returns the number of columns in this ResultSet object |
int |
getColumnIndex(java.lang.String columnName)
Get the designated column's index |
java.lang.String |
getColumnName(int columnIndex)
Maps the given column name to its column index |
int |
getColumnType(int columnIndex)
Retrieves the designated column's type |
int |
getColumnType(java.lang.String columnName)
Retrieves the designated column's type |
java.lang.String |
getCommand()
Returns the query being used. |
java.sql.Date |
getDate(int columnIndex)
Retrieves the value of the designated column in the current row of this DataSet object as a Date in the Java programming language. |
java.sql.Date |
getDate(java.lang.String columnName)
Retrieves the value of the designated column in the current row of this DataSet object as a Date in the Java programming language. |
double |
getDouble(int columnIndex)
Retrieves the value of the designated column in the current row of this DataSet object as a double in the Java programming language. |
double |
getDouble(java.lang.String columnName)
Retrieves the value of the designated column in the current row of this DataSet object as a double in the Java programming language. |
float |
getFloat(int columnIndex)
Retrieves the value of the designated column in the current row of this DataSet object as a float in the Java programming language. |
float |
getFloat(java.lang.String columnName)
Retrieves the value of the designated column in the current row of this DataSet object as a float in the Java programming language. |
int |
getInt(int columnIndex)
Retrieves the value of the designated column in the current row of this DataSet object as a int in the Java programming language. |
int |
getInt(java.lang.String columnName)
Retrieves the value of the designated column in the current row of this DataSet object as a int in the Java programming language. |
long |
getLong(int columnIndex)
Retrieves the value of the designated column in the current row of this DataSet object as a long in the Java programming language. |
long |
getLong(java.lang.String columnName)
Retrieves the value of the designated column in the current row of this DataSet object as a long in the Java programming language. |
java.sql.ResultSetMetaData |
getMetaData()
Retrieves the number, types and properties of underlying ResultSet object's columns. |
java.lang.Object |
getObject(int columnIndex)
Gets the value of the designated column in the current row of this ResultSet object as an Object in the Java programming language. |
java.lang.Object |
getObject(java.lang.String columnName)
Gets the value of the designated column in the current row of this ResultSet object as an Object in the Java programming language. |
int |
getRow()
Retrieves the current row number. |
SSConnection |
getSSConnection()
Returns the SSConnection object being used. |
java.lang.String |
getString(int columnIndex)
Retrieves the value of the designated column in the current row of this DataSet object as a String in the Java programming language. |
java.lang.String |
getString(java.lang.String columnName)
Retrieves the value of the designated column in the current row of this DataSet object as a String in the Java programming language. |
java.sql.Time |
getTime(int columnIndex)
Retrieves the value of the designated column in the current row of this ResultSet object as a java.sql.Time object in the Java programming language. |
java.sql.Time |
getTime(java.lang.String columnName)
Retrieves the value of the designated column in the current row of this ResultSet object as a java.sql.Time object in the Java programming language. |
java.sql.Timestamp |
getTimestamp(int columnIndex)
Retrieves the value of the designated column in the current row of this ResultSet object as a java.sql.Timestamp object in the Java programming language. |
java.sql.Timestamp |
getTimestamp(java.lang.String columnName)
Retrieves the value of the designated column in the current row of this ResultSet object as a java.sql.Timestamp object. |
void |
insertRow()
Inserts the contents of the insert row into this ResultSet object and into the database. |
boolean |
isFirst()
Retrieves whether the cursor is on the first row of this ResultSet object. |
boolean |
isLast()
Retrieves whether the cursor is on the last row of this ResultSet object. |
boolean |
last()
Moves the cursor to the last row in this ResultSet object. |
void |
moveToCurrentRow()
Moves the cursor to the remembered cursor position, usually the current row. |
void |
moveToInsertRow()
Moves the cursor to the insert row. |
boolean |
next()
Moves the cursor down one row from its current position. |
boolean |
previous()
Moves the cursor to the previous row in this ResultSet object. |
void |
refreshRow()
Refreshes the current row with its most recent value in the database. |
void |
removePropertyChangeListener(java.beans.PropertyChangeListener _listener)
Method to remove bean property change listeners. |
void |
removeRowSetListener(javax.sql.RowSetListener listener)
Removes the designated object from this RowSet object's list of listeners. |
void |
removeVetoableChangeListener(java.beans.VetoableChangeListener _listener)
Method to remove bean veto change listeners. |
boolean |
rowDeleted()
Retrieves whether a row has been deleted. |
boolean |
rowInserted()
Retrieves whether the current row has had an insertion. |
boolean |
rowUpdated()
Retrieves whether the current row has been updated. |
void |
setCommand(java.lang.String _command)
Sets the command for the rowset. |
void |
setSSConnection(SSConnection _ssConnection)
Sets the connection object to be used. |
void |
updateBoolean(int columnIndex,
boolean value)
Updates the designated column with a boolean value. |
void |
updateBoolean(java.lang.String columnName,
boolean value)
Updates the designated column with a boolean value. |
void |
updateBytes(int columnIndex,
byte[] value)
Updates the designated column with a byte array value. |
void |
updateBytes(java.lang.String columnName,
byte[] value)
Updates the designated column with a byte array value. |
void |
updateDate(int columnIndex,
java.sql.Date value)
Updates the designated column with a Date value. |
void |
updateDate(java.lang.String columnName,
java.sql.Date value)
Updates the designated column with a Date value. |
void |
updateDouble(int columnIndex,
double value)
Updates the designated column with a double value. |
void |
updateDouble(java.lang.String columnName,
double value)
Updates the designated column with a double value. |
void |
updateFloat(int columnIndex,
float value)
Updates the designated column with a float value. |
void |
updateFloat(java.lang.String columnName,
float value)
Updates the designated column with a float value. |
void |
updateInt(int columnIndex,
int value)
Updates the designated column with a int value. |
void |
updateInt(java.lang.String columnName,
int value)
Updates the designated column with a int value. |
void |
updateLong(int columnIndex,
long value)
Updates the designated column with a long value. |
void |
updateLong(java.lang.String columnName,
long value)
Updates the designated column with a long value. |
void |
updateNull(int columnIndex)
Updates the designated column with a null value. |
void |
updateNull(java.lang.String columnName)
Updates the designated column with a null value. |
void |
updateObject(int columnIndex,
java.lang.Object value)
Updates the designated column with an Object value. |
void |
updateObject(java.lang.String columnName,
java.lang.Object value)
Updates the designated column with an Object value. |
void |
updateRow()
Updates the underlying database with the new contents of the current row of this ResultSet object. |
void |
updateString(int columnIndex,
java.lang.String value)
Updates the designated column with a String value. |
void |
updateString(java.lang.String columnName,
java.lang.String value)
Updates the designated column with a String value. |
void |
updateTime(int columnIndex,
java.sql.Time value)
Updates the designated column with a java.sql.Time value. |
void |
updateTime(java.lang.String columnName,
java.sql.Time value)
Updates the designated column with a java.sql.Time value. |
void |
updateTimestamp(int columnIndex,
java.sql.Timestamp value)
Updates the designated column with a java.sql.Timestamp value. |
void |
updateTimestamp(java.lang.String columnName,
java.sql.Timestamp value)
Updates the designated column with a java.sql.Timestamp value. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SSJdbcRowSetImpl()
public SSJdbcRowSetImpl(SSConnection _ssConnection)
_ssConnection - SSConnection object to be used to connect to the database.
public SSJdbcRowSetImpl(SSConnection _ssConnection,
java.lang.String _command)
_ssConnection - SSConnection object to be used to connect to the database._command - SQL query to be executed.| Method Detail |
|---|
public void addPropertyChangeListener(java.beans.PropertyChangeListener _listener)
_listener - bean property change listenerpublic void removePropertyChangeListener(java.beans.PropertyChangeListener _listener)
_listener - bean property change listenerpublic void addVetoableChangeListener(java.beans.VetoableChangeListener _listener)
_listener - bean vetoable change listenerpublic void removeVetoableChangeListener(java.beans.VetoableChangeListener _listener)
_listener - bean veto change listenerpublic void setSSConnection(SSConnection _ssConnection)
_ssConnection - connection object to be used to connect to the database.public void setCommand(java.lang.String _command)
_command - query to be executed.public SSConnection getSSConnection()
public java.lang.String getCommand()
public void execute()
throws java.sql.SQLException
execute in interface SSRowSetexecute in class SSRowSetAdapterjava.sql.SQLException - - if a data access error occurs or any of the properties necessary
for making a connection have not been set
public boolean getBoolean(int columnIndex)
throws java.sql.SQLException
getBoolean in interface SSRowSetgetBoolean in class SSRowSetAdaptercolumnIndex - - column number . first column is 1, second column is 2....
throws - an SQL exception if an access error occurs.
java.sql.SQLException
public int getInt(int columnIndex)
throws java.sql.SQLException
getInt in interface SSRowSetgetInt in class SSRowSetAdaptercolumnIndex - - column number . first column is 1, second column is 2....
throws - an SQL exception if an access error occurs.
java.sql.SQLException
public long getLong(int columnIndex)
throws java.sql.SQLException
getLong in interface SSRowSetgetLong in class SSRowSetAdaptercolumnIndex - - column number . first column is 1, second column is 2....
throws - an SQL exception if an access error occurs.
java.sql.SQLException
public float getFloat(int columnIndex)
throws java.sql.SQLException
getFloat in interface SSRowSetgetFloat in class SSRowSetAdaptercolumnIndex - - column number . first column is 1, second column is 2....
throws - an SQL exception if an access error occurs.
java.sql.SQLException
public double getDouble(int columnIndex)
throws java.sql.SQLException
getDouble in interface SSRowSetgetDouble in class SSRowSetAdaptercolumnIndex - - column number . first column is 1, second column is 2....
throws - an SQL exception if an access error occurs.
java.sql.SQLException
public java.lang.String getString(int columnIndex)
throws java.sql.SQLException
getString in interface SSRowSetgetString in class SSRowSetAdaptercolumnIndex - - column number . first column is 1, second column is 2....
throws - an SQL exception if an access error occurs.
java.sql.SQLException
public java.sql.Date getDate(int columnIndex)
throws java.sql.SQLException
getDate in interface SSRowSetgetDate in class SSRowSetAdaptercolumnIndex - - column number . first column is 1, second column is 2....
throws - an SQL exception if an access error occurs.
java.sql.SQLException
public byte[] getBytes(int columnIndex)
throws java.sql.SQLException
getBytes in interface SSRowSetgetBytes in class SSRowSetAdaptercolumnIndex - - index number of the column
throws - an SQLException - if a database access error occurs
java.sql.SQLException
public void updateBoolean(int columnIndex,
boolean value)
throws java.sql.SQLException
updateBoolean in interface SSRowSetupdateBoolean in class SSRowSetAdaptercolumnIndex - - index number of the column. first column is 1, second column is 2......value - - new column value
throws - an SQL exception if an access error occurs.
java.sql.SQLException
public void updateInt(int columnIndex,
int value)
throws java.sql.SQLException
updateInt in interface SSRowSetupdateInt in class SSRowSetAdaptercolumnIndex - - index number of the column. first column is 1, second column is 2......value - - new column value
throws - an SQL exception if an access error occurs.
java.sql.SQLException
public void updateLong(int columnIndex,
long value)
throws java.sql.SQLException
updateLong in interface SSRowSetupdateLong in class SSRowSetAdaptercolumnIndex - - index number of the column. first column is 1, second column is 2......value - - new column value
throws - an SQL exception if an access error occurs.
java.sql.SQLException
public void updateFloat(int columnIndex,
float value)
throws java.sql.SQLException
updateFloat in interface SSRowSetupdateFloat in class SSRowSetAdaptercolumnIndex - - index number of the column. first column is 1, second column is 2......value - - new column value
throws - an SQL exception if an access error occurs.
java.sql.SQLException
public void updateDouble(int columnIndex,
double value)
throws java.sql.SQLException
updateDouble in interface SSRowSetupdateDouble in class SSRowSetAdaptercolumnIndex - - index number of the column. first column is 1, second column is 2......value - - new column value
throws - an SQL exception if an access error occurs.
java.sql.SQLException
public void updateString(int columnIndex,
java.lang.String value)
throws java.sql.SQLException
updateString in interface SSRowSetupdateString in class SSRowSetAdaptercolumnIndex - - index number of the column. first column is 1, second column is 2......value - - new column value
throws - an SQL exception if an access error occurs.
java.sql.SQLException
public void updateDate(int columnIndex,
java.sql.Date value)
throws java.sql.SQLException
updateDate in interface SSRowSetupdateDate in class SSRowSetAdaptercolumnIndex - - index number of the column. first column is 1, second column is 2......value - - new column value
throws - an SQL exception if an access error occurs.
java.sql.SQLException
public void updateBytes(int columnIndex,
byte[] value)
throws java.sql.SQLException
updateBytes in interface SSRowSetupdateBytes in class SSRowSetAdaptercolumnIndex - - the index number of the columnvalue - - the new column value
throws - an SQLException - if a database access error occurs
java.sql.SQLException
public void updateNull(int columnIndex)
throws java.sql.SQLException
updateNull in interface SSRowSetupdateNull in class SSRowSetAdaptercolumnIndex - - index number of the column. first column is 1, second column is 2......
throws - an SQL exception if an access error occurs.
java.sql.SQLException
public boolean getBoolean(java.lang.String columnName)
throws java.sql.SQLException
getBoolean in interface SSRowSetgetBoolean in class SSRowSetAdaptercolumnName - - name of the column
throws - an SQL exception if an access error occurs.
java.sql.SQLException
public int getInt(java.lang.String columnName)
throws java.sql.SQLException
getInt in interface SSRowSetgetInt in class SSRowSetAdaptercolumnName - - name of the column
throws - an SQL exception if an access error occurs.
java.sql.SQLException
public long getLong(java.lang.String columnName)
throws java.sql.SQLException
getLong in interface SSRowSetgetLong in class SSRowSetAdaptercolumnName - - name of the column
throws - an SQL exception if an access error occurs.
java.sql.SQLException
public float getFloat(java.lang.String columnName)
throws java.sql.SQLException
getFloat in interface SSRowSetgetFloat in class SSRowSetAdaptercolumnName - - name of the column
throws - an SQL exception if an access error occurs.
java.sql.SQLException
public double getDouble(java.lang.String columnName)
throws java.sql.SQLException
getDouble in interface SSRowSetgetDouble in class SSRowSetAdaptercolumnName - - name of the column
throws - an SQL exception if an access error occurs.
java.sql.SQLException
public java.lang.String getString(java.lang.String columnName)
throws java.sql.SQLException
getString in interface SSRowSetgetString in class SSRowSetAdaptercolumnName - - name of the column
throws - an SQL exception if an access error occurs.
java.sql.SQLException
public java.sql.Date getDate(java.lang.String columnName)
throws java.sql.SQLException
getDate in interface SSRowSetgetDate in class SSRowSetAdaptercolumnName - - name of the column
throws - an SQL exception if an access error occurs.
java.sql.SQLException
public byte[] getBytes(java.lang.String columnName)
throws java.sql.SQLException
getBytes in interface SSRowSetgetBytes in class SSRowSetAdaptercolumnName - - the SQL name of the column
throws - an SQLException - if a database access error occurs
java.sql.SQLException
public void updateBoolean(java.lang.String columnName,
boolean value)
throws java.sql.SQLException
updateBoolean in interface SSRowSetupdateBoolean in class SSRowSetAdaptercolumnName - - name of the columnvalue - - new column value
throws - an SQL exception if an access error occurs.
java.sql.SQLException
public void updateInt(java.lang.String columnName,
int value)
throws java.sql.SQLException
updateInt in interface SSRowSetupdateInt in class SSRowSetAdaptercolumnName - - name of the columnvalue - - new column value
throws - an SQL exception if an access error occurs.
java.sql.SQLException
public void updateLong(java.lang.String columnName,
long value)
throws java.sql.SQLException
updateLong in interface SSRowSetupdateLong in class SSRowSetAdaptercolumnName - - name of the columnvalue - - new column value
throws - an SQL exception if an access error occurs.
java.sql.SQLException
public void updateFloat(java.lang.String columnName,
float value)
throws java.sql.SQLException
updateFloat in interface SSRowSetupdateFloat in class SSRowSetAdaptercolumnName - - name of the columnvalue - - new column value
throws - an SQL exception if an access error occurs.
java.sql.SQLException
public void updateDouble(java.lang.String columnName,
double value)
throws java.sql.SQLException
updateDouble in interface SSRowSetupdateDouble in class SSRowSetAdaptercolumnName - - name of the columnvalue - - new column value
throws - an SQL exception if an access error occurs.
java.sql.SQLException
public void updateString(java.lang.String columnName,
java.lang.String value)
throws java.sql.SQLException
updateString in interface SSRowSetupdateString in class SSRowSetAdaptercolumnName - - name of the columnvalue - - new column value
throws - an SQL exception if an access error occurs.
java.sql.SQLException
public void updateDate(java.lang.String columnName,
java.sql.Date value)
throws java.sql.SQLException
updateDate in interface SSRowSetupdateDate in class SSRowSetAdaptercolumnName - - name of the columnvalue - - new column value
throws - an SQL exception if an access error occurs.
java.sql.SQLException
public void updateBytes(java.lang.String columnName,
byte[] value)
throws java.sql.SQLException
updateBytes in interface SSRowSetupdateBytes in class SSRowSetAdaptercolumnName - - the name of the columnvalue - - the new column value
throws - an SQLException - if a database access error occurs
java.sql.SQLException
public void updateNull(java.lang.String columnName)
throws java.sql.SQLException
updateNull in interface SSRowSetupdateNull in class SSRowSetAdaptercolumnName - - name of the column
throws - an SQL exception if an access error occurs.
java.sql.SQLExceptionpublic void addRowSetListener(javax.sql.RowSetListener listener)
addRowSetListener in interface SSRowSetaddRowSetListener in class SSRowSetAdapterlistener - - an object that has implemented the javax.sql.RowSetListener interface
and wants to be notified of any events that occur on this RowSet object; May be nullpublic void removeRowSetListener(javax.sql.RowSetListener listener)
removeRowSetListener in interface SSRowSetremoveRowSetListener in class SSRowSetAdapterlistener - - a RowSetListener object that is on the list of listeners for this RowSet object
public java.lang.String getColumnName(int columnIndex)
throws java.sql.SQLException
getColumnName in interface SSRowSetgetColumnName in class SSRowSetAdaptercolumnIndex - - column number first column is 1, second column is 2 .....
java.sql.SQLException - - if the object does not contain columnIndex or a access
error occurs
public int getColumnIndex(java.lang.String columnName)
throws java.sql.SQLException
getColumnIndex in interface SSRowSetgetColumnIndex in class SSRowSetAdaptercolumnName - - name of the column
java.sql.SQLException - - if a data access error
public int getColumnType(java.lang.String columnName)
throws java.sql.SQLException
getColumnType in interface SSRowSetgetColumnType in class SSRowSetAdaptercolumnName - - name of the column
java.sql.SQLException - - if a data access error occurs
public int getColumnType(int columnIndex)
throws java.sql.SQLException
getColumnType in interface SSRowSetgetColumnType in class SSRowSetAdaptercolumnIndex - - column number first column is 1, second column is 2 .....
java.sql.SQLException - - if a data access error occurs
public int getRow()
throws java.sql.SQLException
getRow in interface SSRowSetgetRow in class SSRowSetAdapterjava.sql.SQLException - - if a data access error occurs
public int getColumnCount()
throws java.sql.SQLException
getColumnCount in interface SSRowSetgetColumnCount in class SSRowSetAdapterjava.sql.SQLException - - if a data access error occurs
public boolean next()
throws java.sql.SQLException
next in interface SSRowSetnext in class SSRowSetAdapterjava.sql.SQLException - - if a data access error occurs
public boolean previous()
throws java.sql.SQLException
previous in interface SSRowSetprevious in class SSRowSetAdapterjava.sql.SQLException - - if a data access error occurs
public boolean last()
throws java.sql.SQLException
last in interface SSRowSetlast in class SSRowSetAdapterjava.sql.SQLException - - if a data access error occurs
public boolean first()
throws java.sql.SQLException
first in interface SSRowSetfirst in class SSRowSetAdapterjava.sql.SQLException - - if a data access error occurs
public boolean isFirst()
throws java.sql.SQLException
isFirst in interface SSRowSetisFirst in class SSRowSetAdapterjava.sql.SQLException - - if a data access error occurs
public boolean isLast()
throws java.sql.SQLException
isLast in interface SSRowSetisLast in class SSRowSetAdapterjava.sql.SQLException - - if a data access error occurs
public void beforeFirst()
throws java.sql.SQLException
beforeFirst in interface SSRowSetbeforeFirst in class SSRowSetAdapterjava.sql.SQLException - - if a data access error occurs
public boolean absolute(int row)
throws java.sql.SQLException
Moves the cursor to the given row number in this ResultSet object.
If the row number is positive, the cursor moves to the given row number with
respect to the beginning of the result set. The first row is row 1, the second is
row 2, and so on.
If the given row number is negative, the cursor moves to an absolute row position
with respect to the end of the result set. For example, calling the method absolute(-1)
positions the cursor on the last row; calling the method absolute(-2) moves the cursor
to the next-to-last row, and so on.
An attempt to position the cursor beyond the first/last row in the result set leaves
the cursor before the first row or after the last row.
absolute in interface SSRowSetabsolute in class SSRowSetAdapterrow - - the number of the row to which the cursor should move.
java.sql.SQLException - - if a database access error occurs
public void updateRow()
throws java.sql.SQLException
updateRow in interface SSRowSetupdateRow in class SSRowSetAdapterjava.sql.SQLException - - if a data access error occurs or if this method is called when
the cursor is on the insert row
public void moveToCurrentRow()
throws java.sql.SQLException
moveToCurrentRow in interface SSRowSetmoveToCurrentRow in class SSRowSetAdapterjava.sql.SQLException - - if a data access error occurs
public void moveToInsertRow()
throws java.sql.SQLException
moveToInsertRow in interface SSRowSetmoveToInsertRow in class SSRowSetAdapterjava.sql.SQLException - - if a data access error occurs
public void insertRow()
throws java.sql.SQLException
insertRow in interface SSRowSetinsertRow in class SSRowSetAdapterjava.sql.SQLException - - if a data access error occurs,if this method is called when
the cursor is not on the insert row, or if not all of non-nullable columns in the
insert row have been given a value
public void deleteRow()
throws java.sql.SQLException
deleteRow in interface SSRowSetdeleteRow in class SSRowSetAdapterjava.sql.SQLException - - if a data access error occurs or if this method is called
when the cursor is on the insert row
public void cancelRowUpdates()
throws java.sql.SQLException
cancelRowUpdates in interface SSRowSetcancelRowUpdates in class SSRowSetAdapterjava.sql.SQLException - - if a data access error occurs or if this method is called when
the cursor is on the insert row
public void refreshRow()
throws java.sql.SQLException
refreshRow in interface SSRowSetrefreshRow in class SSRowSetAdapterjava.sql.SQLException - - if a data access error occurs or if this method is called
when the cursor is on the insert row
public boolean rowDeleted()
throws java.sql.SQLException
rowDeleted in interface SSRowSetrowDeleted in class SSRowSetAdapter