javax.sql.rowset.spi
Interface SyncResolver

All Superinterfaces:
ResultSet sample code for java.sql.ResultSet definition code for java.sql.ResultSet , RowSet sample code for javax.sql.RowSet definition code for javax.sql.RowSet

public interface SyncResolver
extends RowSet sample code for javax.sql.RowSet definition code for javax.sql.RowSet

Defines a framework that allows applications to use a manual decision tree to decide what should be done when a synchronization conflict occurs. Although it is not mandatory for applications to resolve synchronization conflicts manually, this framework provides the means to delegate to the application when conflicts arise.

Note that a conflict is a situation where the RowSet object's original values for a row do not match the values in the data source, which indicates that the data source row has been modified since the last synchronization. Note also that a RowSet object's original values are the values it had just prior to the the last synchronization, which are not necessarily its initial values.

Description of a SyncResolver Object

A SyncResolver object is a specialized RowSet object that implements the SyncResolver interface. It may operate as either a connected RowSet object (an implementation of the JdbcRowSet interface) or a connected RowSet object (an implementation of the CachedRowSet interface or one of its subinterfaces). For information on the subinterfaces, see the javax.sql.rowset package description. The reference implementation for SyncResolver implements the CachedRowSet interface, but other implementations may choose to implement the JdbcRowSet interface to satisfy particular needs.

After an application has attempted to synchronize a RowSet object with the data source (by calling the CachedRowSet method acceptChanges), and one or more conflicts have been found, a rowset's SyncProvider object creates an instance of SyncResolver. This new SyncResolver object has the same number of rows and columns as the RowSet object that was attempting the synchronization. The SyncResolver object contains the values from the data source that caused the conflict(s) and null for all other values. In addition, it contains information about each conflict.

Getting and Using a SyncResolver Object

When the method acceptChanges encounters conflicts, the SyncProvider object creates a SyncProviderException object and sets it with the new SyncResolver object. The method acceptChanges will throw this exception, which the application can then catch and use to retrieve the SyncResolver object it contains. The following code snippet uses the SyncProviderException method getSyncResolver to get the SyncResolver object resolver.
     } catch (SyncProviderException spe) {
         SyncResolver resolver = spe.getSyncResolver();
     ...
     }
 

With resolver in hand, an application can use it to get the information it contains about the conflict or conflicts. A SyncResolver object such as resolver keeps track of the conflicts for each row in which there is a conflict. It also places a lock on the table or tables affected by the rowset's command so that no more conflicts can occur while the current conflicts are being resolved.

The following kinds of information can be obtained from a SyncResolver object:

  • What operation was being attempted when a conflict occurred
    The SyncProvider interface defines four constants describing states that may occur. Three constants describe the type of operation (update, delete, or insert) that a RowSet object was attempting to perform when a conflict was discovered, and the fourth indicates that there is no conflict. These constants are the possible return values when a SyncResolver object calls the method getStatus.
         int operation = resolver.getStatus();
     

  • The value in the data source that caused a conflict
    A conflict exists when a value that a RowSet object has changed and is attempting to write to the data source has also been changed in the data source since the last synchronization. An application can call the SyncResolver method getConflictValue to retrieve the value in the data source that is the cause of the conflict because the values in a SyncResolver object are the conflict values from the data source.
         java.lang.Object conflictValue = resolver.getConflictValue(2);
     
    Note that the column in resolver can be designated by the column number, as is done in the preceding line of code, or by the column name.

    With the information retrieved from the methods getStatus and getConflictValue, the application may make a determination as to which value should be persisted in the data source. The application then calls the SyncResolver method setResolvedValue, which sets the value to be persisted in the RowSet object and also in the data source.

         resolver.setResolvedValue("DEPT", 8390426);
     
    In the preceding line of code, the column name designates the column in the RowSet object that is to be set with the given value. The column number can also be used to designate the column.

    An application calls the method setResolvedValue after it has resolved all of the conflicts in the current conflict row and repeats this process for each conflict row in the SyncResolver object.

    Navigating a SyncResolver Object

    Because a SyncResolver object is a RowSet object, an application can use all of the RowSet methods for moving the cursor to navigate a SyncResolver object. For example, an application can use the RowSet method next to get to each row and then call the SyncResolver method getStatus to see if the row contains a conflict. In a row with one or more conflicts, the application can iterate through the columns to find any non-null values, which will be the values from the data source that are in conflict.

    To make it easier to navigate a SyncResolver object, especially when there are large numbers of rows with no conflicts, the SyncResolver interface defines the methods nextConflict and previousConflict, which move only to rows that contain at least one conflict value. Then an application can call the SyncResolver method getConflictValue, supplying it with the column number, to get the conflict value itself. The code fragment in the next section gives an example.

    Code Example

    The following code fragment demonstrates how a disconnected RowSet object crs might attempt to synchronize itself with the underlying data source and then resolve the conflicts. In the try block, crs calls the method acceptChanges, passing it the Connection object con. If there are no conflicts, the changes in crs are simply written to the data source. However, if there is a conflict, the method acceptChanges throws a SyncProviderException object, and the catch block takes effect. In this example, which illustrates one of the many ways a SyncResolver object can be used, the SyncResolver method nextConflict is used in a while loop. The loop will end when nextConflict returns false, which will occur when there are no more conflict rows in the SyncResolver object resolver. In This particular code fragment, resolver looks for rows that have update conflicts (rows with the status SyncResolver.UPDATE_ROW_CONFLICT), and the rest of this code fragment executes only for rows where conflicts occurred because crs was attempting an update.

    After the cursor for resolver has moved to the next conflict row that has an update conflict, the method getRow indicates the number of the current row, and the cursor for the CachedRowSet object crs is moved to the comparable row in crs. By iterating through the columns of that row in both resolver and crs, the conflicting values can be retrieved and compared to decide which one should be persisted. In this code fragment, the value in crs is the one set as the resolved value, which means that it will be used to overwrite the conflict value in the data source.

         try {
    
             crs.acceptChanges(con);
    
         } catch (SyncProviderException spe) {
    
             SyncResolver resolver = spe.getSyncResolver();
    
             Object crsValue;  // value in the RowSet object 
             Object resolverValue:  // value in the SyncResolver object
             Object resolvedValue:  // value to be persisted
    
             while(resolver.nextConflict())  {
                 if(resolver.getStatus() == SyncResolver.UPDATE_ROW_CONFLICT)  {
                     int row = resolver.getRow();
                     crs.absolute(row);
    
                     int colCount = crs.getMetaData().getColumnCount();
                     for(int j = 1; j <= colCount; j++) {
                         if (resolver.getConflictValue(j) != null)  {
                             crsValue = crs.getObject(j);
                             resolverValue = resolver.getConflictValue(j);
                             . . . 
                             // compare crsValue and resolverValue to determine
                             // which should be the resolved value (the value to persist)
                             resolvedValue = crsValue;
    
                             resolver.setResolvedValue(j, resolvedValue);
                          } 
                      } 
                  }
              }
          }
     


    Field Summary
    static int DELETE_ROW_CONFLICT sample code for javax.sql.rowset.spi.SyncResolver.DELETE_ROW_CONFLICT definition code for javax.sql.rowset.spi.SyncResolver.DELETE_ROW_CONFLICT
              Indicates that a conflict occurred while the RowSet object was attempting to delete a row in the data source.
    static int INSERT_ROW_CONFLICT sample code for javax.sql.rowset.spi.SyncResolver.INSERT_ROW_CONFLICT definition code for javax.sql.rowset.spi.SyncResolver.INSERT_ROW_CONFLICT
              Indicates that a conflict occurred while the RowSet object was attempting to insert a row into the data source.
    static int NO_ROW_CONFLICT sample code for javax.sql.rowset.spi.SyncResolver.NO_ROW_CONFLICT definition code for javax.sql.rowset.spi.SyncResolver.NO_ROW_CONFLICT
              Indicates that no conflict occured while the RowSet object was attempting to update, delete or insert a row in the data source.
    static int UPDATE_ROW_CONFLICT sample code for javax.sql.rowset.spi.SyncResolver.UPDATE_ROW_CONFLICT definition code for javax.sql.rowset.spi.SyncResolver.UPDATE_ROW_CONFLICT
              Indicates that a conflict occurred while the RowSet object was attempting to update a row in the data source.
     
    Fields inherited from interface java.sql.ResultSet sample code for java.sql.ResultSet definition code for java.sql.ResultSet
    CLOSE_CURSORS_AT_COMMIT sample code for java.sql.ResultSet.CLOSE_CURSORS_AT_COMMIT definition code for java.sql.ResultSet.CLOSE_CURSORS_AT_COMMIT , CONCUR_READ_ONLY sample code for java.sql.ResultSet.CONCUR_READ_ONLY definition code for java.sql.ResultSet.CONCUR_READ_ONLY , CONCUR_UPDATABLE sample code for java.sql.ResultSet.CONCUR_UPDATABLE definition code for java.sql.ResultSet.CONCUR_UPDATABLE , FETCH_FORWARD sample code for java.sql.ResultSet.FETCH_FORWARD definition code for java.sql.ResultSet.FETCH_FORWARD , FETCH_REVERSE sample code for java.sql.ResultSet.FETCH_REVERSE definition code for java.sql.ResultSet.FETCH_REVERSE , FETCH_UNKNOWN sample code for java.sql.ResultSet.FETCH_UNKNOWN definition code for java.sql.ResultSet.FETCH_UNKNOWN , HOLD_CURSORS_OVER_COMMIT sample code for java.sql.ResultSet.HOLD_CURSORS_OVER_COMMIT definition code for java.sql.ResultSet.HOLD_CURSORS_OVER_COMMIT , TYPE_FORWARD_ONLY sample code for java.sql.ResultSet.TYPE_FORWARD_ONLY definition code for java.sql.ResultSet.TYPE_FORWARD_ONLY , TYPE_SCROLL_INSENSITIVE sample code for java.sql.ResultSet.TYPE_SCROLL_INSENSITIVE definition code for java.sql.ResultSet.TYPE_SCROLL_INSENSITIVE , TYPE_SCROLL_SENSITIVE sample code for java.sql.ResultSet.TYPE_SCROLL_SENSITIVE definition code for java.sql.ResultSet.TYPE_SCROLL_SENSITIVE
     
    Method Summary
     Object sample code for java.lang.Object definition code for java.lang.Object getConflictValue sample code for javax.sql.rowset.spi.SyncResolver.getConflictValue(int) definition code for javax.sql.rowset.spi.SyncResolver.getConflictValue(int) (int index)
              Retrieves the value in the designated column in the current row of this SyncResolver object, which is the value in the data source that caused a conflict.
     Object sample code for java.lang.Object definition code for java.lang.Object getConflictValue sample code for javax.sql.rowset.spi.SyncResolver.getConflictValue(java.lang.String) definition code for javax.sql.rowset.spi.SyncResolver.getConflictValue(java.lang.String) (String sample code for java.lang.String definition code for java.lang.String  columnName)
              Retrieves the value in the designated column in the current row of this SyncResolver object, which is the value in the data source that caused a conflict.
     int getStatus sample code for javax.sql.rowset.spi.SyncResolver.getStatus() definition code for javax.sql.rowset.spi.SyncResolver.getStatus() ()
              Retrieves the conflict status of the current row of this SyncResolver, which indicates the operation the RowSet object was attempting when the conflict occurred.
     boolean nextConflict sample code for javax.sql.rowset.spi.SyncResolver.nextConflict() definition code for javax.sql.rowset.spi.SyncResolver.nextConflict() ()
              Moves the cursor down from its current position to the next row that contains a conflict value.
     boolean previousConflict sample code for javax.sql.rowset.spi.SyncResolver.previousConflict() definition code for javax.sql.rowset.spi.SyncResolver.previousConflict() ()
              Moves the cursor up from its current position to the previous conflict row in this SyncResolver object.
     void setResolvedValue sample code for javax.sql.rowset.spi.SyncResolver.setResolvedValue(int, java.lang.Object) definition code for javax.sql.rowset.spi.SyncResolver.setResolvedValue(int, java.lang.Object) (int index, Object sample code for java.lang.Object definition code for java.lang.Object  obj)
              Sets obj as the value in column index in the current row of the RowSet object that is being synchronized.
     void setResolvedValue sample code for javax.sql.rowset.spi.SyncResolver.setResolvedValue(java.lang.String, java.lang.Object) definition code for javax.sql.rowset.spi.SyncResolver.setResolvedValue(java.lang.String, java.lang.Object) (String sample code for java.lang.String definition code for java.lang.String  columnName, Object sample code for java.lang.Object definition code for java.lang.Object  obj)
              Sets obj as the value in column columnName in the current row of the RowSet object that is being synchronized.
     
    Methods inherited from interface javax.sql.RowSet sample code for javax.sql.RowSet definition code for javax.sql.RowSet
    addRowSetListener sample code for javax.sql.RowSet.addRowSetListener(javax.sql.RowSetListener) definition code for javax.sql.RowSet.addRowSetListener(javax.sql.RowSetListener) , clearParameters sample code for javax.sql.RowSet.clearParameters() definition code for javax.sql.RowSet.clearParameters() , execute sample code for javax.sql.RowSet.execute() definition code for javax.sql.RowSet.execute() , getCommand sample code for javax.sql.RowSet.getCommand() definition code for javax.sql.RowSet.getCommand() , getDataSourceName sample code for javax.sql.RowSet.getDataSourceName() definition code for javax.sql.RowSet.getDataSourceName() , getEscapeProcessing sample code for javax.sql.RowSet.getEscapeProcessing() definition code for javax.sql.RowSet.getEscapeProcessing() , getMaxFieldSize sample code for javax.sql.RowSet.getMaxFieldSize() definition code for javax.sql.RowSet.getMaxFieldSize() , getMaxRows sample code for javax.sql.RowSet.getMaxRows() definition code for javax.sql.RowSet.getMaxRows() , getPassword sample code for javax.sql.RowSet.getPassword() definition code for javax.sql.RowSet.getPassword() , getQueryTimeout sample code for javax.sql.RowSet.getQueryTimeout() definition code for javax.sql.RowSet.getQueryTimeout() , getTransactionIsolation sample code for javax.sql.RowSet.getTransactionIsolation() definition code for javax.sql.RowSet.getTransactionIsolation() , getTypeMap sample code for javax.sql.RowSet.getTypeMap() definition code for javax.sql.RowSet.getTypeMap() , getUrl sample code for javax.sql.RowSet.getUrl() definition code for javax.sql.RowSet.getUrl() , getUsername sample code for javax.sql.RowSet.getUsername() definition code for javax.sql.RowSet.getUsername() , isReadOnly sample code for javax.sql.RowSet.isReadOnly() definition code for javax.sql.RowSet.isReadOnly() , removeRowSetListener sample code for javax.sql.RowSet.removeRowSetListener(javax.sql.RowSetListener) definition code for javax.sql.RowSet.removeRowSetListener(javax.sql.RowSetListener) , setArray sample code for javax.sql.RowSet.setArray(int, java.sql.Array) definition code for javax.sql.RowSet.setArray(int, java.sql.Array) , setAsciiStream sample code for javax.sql.RowSet.setAsciiStream(int, java.io.InputStream, int) definition code for javax.sql.RowSet.setAsciiStream(int, java.io.InputStream, int) , setBigDecimal sample code for javax.sql.RowSet.setBigDecimal(int, java.math.BigDecimal) definition code for javax.sql.RowSet.setBigDecimal(int, java.math.BigDecimal) , setBinaryStream sample code for javax.sql.RowSet.setBinaryStream(int, java.io.InputStream, int) definition code for javax.sql.RowSet.setBinaryStream(int, java.io.InputStream, int) , setBlob sample code for javax.sql.RowSet.setBlob(int, java.sql.Blob) definition code for javax.sql.RowSet.setBlob(int, java.sql.Blob) , setBoolean sample code for javax.sql.RowSet.setBoolean(int, boolean) definition code for javax.sql.RowSet.setBoolean(int, boolean) , setByte sample code for javax.sql.RowSet.setByte(int, byte) definition code for javax.sql.RowSet.setByte(int, byte) , setBytes sample code for javax.sql.RowSet.setBytes(int, byte[]) definition code for javax.sql.RowSet.setBytes(int, byte[]) , setCharacterStream sample code for javax.sql.RowSet.setCharacterStream(int, java.io.Reader, int) definition code for javax.sql.RowSet.setCharacterStream(int, java.io.Reader, int) , setClob sample code for javax.sql.RowSet.setClob(int, java.sql.Clob) definition code for javax.sql.RowSet.setClob(int, java.sql.Clob) , setCommand sample code for javax.sql.RowSet.setCommand(java.lang.String) definition code for javax.sql.RowSet.setCommand(java.lang.String) , setConcurrency sample code for javax.sql.RowSet.setConcurrency(int) definition code for javax.sql.RowSet.setConcurrency(int) , setDataSourceName sample code for javax.sql.RowSet.setDataSourceName(java.lang.String) definition code for javax.sql.RowSet.setDataSourceName(java.lang.String) , setDate sample code for javax.sql.RowSet.setDate(int, java.sql.Date) definition code for javax.sql.RowSet.setDate(int, java.sql.Date) , setDate sample code for javax.sql.RowSet.setDate(int, java.sql.Date, java.util.Calendar) definition code for javax.sql.RowSet.setDate(int, java.sql.Date, java.util.Calendar) , setDouble sample code for javax.sql.RowSet.setDouble(int, double) definition code for javax.sql.RowSet.setDouble(int, double) , setEscapeProcessing sample code for javax.sql.RowSet.setEscapeProcessing(boolean) definition code for javax.sql.RowSet.setEscapeProcessing(boolean) , setFloat sample code for javax.sql.RowSet.setFloat(int, float) definition code for javax.sql.RowSet.setFloat(int, float) , setInt sample code for javax.sql.RowSet.setInt(int, int) definition code for javax.sql.RowSet.setInt(int, int) , setLong sample code for javax.sql.RowSet.setLong(int, long) definition code for javax.sql.RowSet.setLong(int, long) , setMaxFieldSize sample code for javax.sql.RowSet.setMaxFieldSize(int) definition code for javax.sql.RowSet.setMaxFieldSize(int) , setMaxRows sample code for javax.sql.RowSet.setMaxRows(int) definition code for javax.sql.RowSet.setMaxRows(int) , setNull sample code for javax.sql.RowSet.setNull(int, int) definition code for javax.sql.RowSet.setNull(int, int) , setNull sample code for javax.sql.RowSet.setNull(int, int, java.lang.String) definition code for javax.sql.RowSet.setNull(int, int, java.lang.String) , setObject sample code for javax.sql.RowSet.setObject(int, java.lang.Object) definition code for javax.sql.RowSet.setObject(int, java.lang.Object) , setObject sample code for javax.sql.RowSet.setObject(int, java.lang.Object, int) definition code for javax.sql.RowSet.setObject(int, java.lang.Object, int) , setObject sample code for javax.sql.RowSet.setObject(int, java.lang.Object, int, int) definition code for javax.sql.RowSet.setObject(int, java.lang.Object, int, int) , setPassword sample code for javax.sql.RowSet.setPassword(java.lang.String) definition code for javax.sql.RowSet.setPassword(java.lang.String) , setQueryTimeout sample code for javax.sql.RowSet.setQueryTimeout(int) definition code for javax.sql.RowSet.setQueryTimeout(int) , setReadOnly sample code for javax.sql.RowSet.setReadOnly(boolean) definition code for javax.sql.RowSet.setReadOnly(boolean) , setRef sample code for javax.sql.RowSet.setRef(int, java.sql.Ref) definition code for javax.sql.RowSet.setRef(int, java.sql.Ref) , setShort sample code for javax.sql.RowSet.setShort(int, short) definition code for javax.sql.RowSet.setShort(int, short) , setString sample code for javax.sql.RowSet.setString(int, java.lang.String) definition code for javax.sql.RowSet.setString(int, java.lang.String) , setTime sample code for javax.sql.RowSet.setTime(int, java.sql.Time) definition code for javax.sql.RowSet.setTime(int, java.sql.Time) , setTime sample code for javax.sql.RowSet.setTime(int, java.sql.Time, java.util.Calendar) definition code for javax.sql.RowSet.setTime(int, java.sql.Time, java.util.Calendar) , setTimestamp sample code for javax.sql.RowSet.setTimestamp(int, java.sql.Timestamp) definition code for javax.sql.RowSet.setTimestamp(int, java.sql.Timestamp) , setTimestamp sample code for javax.sql.RowSet.setTimestamp(int, java.sql.Timestamp, java.util.Calendar) definition code for javax.sql.RowSet.setTimestamp(int, java.sql.Timestamp, java.util.Calendar) , setTransactionIsolation sample code for javax.sql.RowSet.setTransactionIsolation(int) definition code for javax.sql.RowSet.setTransactionIsolation(int) , setType sample code for javax.sql.RowSet.setType(int) definition code for javax.sql.RowSet.setType(int) , setTypeMap sample code for javax.sql.RowSet.setTypeMap(java.util.Map) definition code for javax.sql.RowSet.setTypeMap(java.util.Map) , setUrl sample code for javax.sql.RowSet.setUrl(java.lang.String) definition code for javax.sql.RowSet.setUrl(java.lang.String) , setUsername sample code for javax.sql.RowSet.setUsername(java.lang.String) definition code for javax.sql.RowSet.setUsername(java.lang.String)
     
    Methods inherited from interface java.sql.ResultSet sample code for java.sql.ResultSet definition code for java.sql.ResultSet
    absolute sample code for java.sql.ResultSet.absolute(int) definition code for java.sql.ResultSet.absolute(int) , afterLast sample code for java.sql.ResultSet.afterLast() definition code for java.sql.ResultSet.afterLast() , beforeFirst sample code for java.sql.ResultSet.beforeFirst() definition code for java.sql.ResultSet.beforeFirst() , cancelRowUpdates sample code for java.sql.ResultSet.cancelRowUpdates() definition code for java.sql.ResultSet.cancelRowUpdates() , clearWarnings sample code for java.sql.ResultSet.clearWarnings() definition code for java.sql.ResultSet.clearWarnings() , close sample code for java.sql.ResultSet.close() definition code for java.sql.ResultSet.close() , deleteRow sample code for java.sql.ResultSet.deleteRow() definition code for java.sql.ResultSet.deleteRow() , findColumn sample code for java.sql.ResultSet.findColumn(java.lang.String) definition code for java.sql.ResultSet.findColumn(java.lang.String) , first sample code for java.sql.ResultSet.first() definition code for java.sql.ResultSet.first() , getArray sample code for java.sql.ResultSet.getArray(int) definition code for java.sql.ResultSet.getArray(int) , getArray sample code for java.sql.ResultSet.getArray(java.lang.String) definition code for java.sql.ResultSet.getArray(java.lang.String) , getAsciiStream sample code for java.sql.ResultSet.getAsciiStream(int) definition code for java.sql.ResultSet.getAsciiStream(int) , getAsciiStream sample code for java.sql.ResultSet.getAsciiStream(java.lang.String) definition code for java.sql.ResultSet.getAsciiStream(java.lang.String) , getBigDecimal sample code for java.sql.ResultSet.getBigDecimal(int) definition code for java.sql.ResultSet.getBigDecimal(int) , getBigDecimal sample code for java.sql.ResultSet.getBigDecimal(int, int) definition code for java.sql.ResultSet.getBigDecimal(int, int) , getBigDecimal sample code for java.sql.ResultSet.getBigDecimal(java.lang.String) definition code for java.sql.ResultSet.getBigDecimal(java.lang.String) , getBigDecimal sample code for java.sql.ResultSet.getBigDecimal(java.lang.String, int) definition code for java.sql.ResultSet.getBigDecimal(java.lang.String, int) , getBinaryStream sample code for java.sql.ResultSet.getBinaryStream(int) definition code for java.sql.ResultSet.getBinaryStream(int) , getBinaryStream sample code for java.sql.ResultSet.getBinaryStream(java.lang.String) definition code for java.sql.ResultSet.getBinaryStream(java.lang.String) , getBlob sample code for java.sql.ResultSet.getBlob(int) definition code for java.sql.ResultSet.getBlob(int) , getBlob sample code for java.sql.ResultSet.getBlob(java.lang.String) definition code for java.sql.ResultSet.getBlob(java.lang.String) , getBoolean sample code for java.sql.ResultSet.getBoolean(int) definition code for java.sql.ResultSet.getBoolean(int) , getBoolean sample code for java.sql.ResultSet.getBoolean(java.lang.String) definition code for java.sql.ResultSet.getBoolean(java.lang.String) , getByte sample code for java.sql.ResultSet.getByte(int) definition code for java.sql.ResultSet.getByte(int) , getByte sample code for java.sql.ResultSet.getByte(java.lang.String) definition code for java.sql.ResultSet.getByte(java.lang.String) , getBytes sample code for java.sql.ResultSet.getBytes(int) definition code for java.sql.ResultSet.getBytes(int) , getBytes sample code for java.sql.ResultSet.getBytes(java.lang.String) definition code for java.sql.ResultSet.getBytes(java.lang.String) , getCharacterStream sample code for java.sql.ResultSet.getCharacterStream(int) definition code for java.sql.ResultSet.getCharacterStream(int) , getCharacterStream sample code for java.sql.ResultSet.getCharacterStream(java.lang.String) definition code for java.sql.ResultSet.getCharacterStream(java.lang.String) , getClob sample code for java.sql.ResultSet.getClob(int) definition code for java.sql.ResultSet.getClob(int) , getClob sample code for java.sql.ResultSet.getClob(java.lang.String) definition code for java.sql.ResultSet.getClob(java.lang.String) , getConcurrency sample code for java.sql.ResultSet.getConcurrency() definition code for java.sql.ResultSet.getConcurrency() , getCursorName sample code for java.sql.ResultSet.getCursorName() definition code for java.sql.ResultSet.getCursorName() , getDate sample code for java.sql.ResultSet.getDate(int) definition code for java.sql.ResultSet.getDate(int) , getDate sample code for java.sql.ResultSet.getDate(int, java.util.Calendar) definition code for java.sql.ResultSet.getDate(int, java.util.Calendar) , getDate sample code for java.sql.ResultSet.getDate(java.lang.String) definition code for java.sql.ResultSet.getDate(java.lang.String) , getDate sample code for java.sql.ResultSet.getDate(java.lang.String, java.util.Calendar) definition code for java.sql.ResultSet.getDate(java.lang.String, java.util.Calendar) , getDouble sample code for java.sql.ResultSet.getDouble(int) definition code for java.sql.ResultSet.getDouble(int) , getDouble sample code for java.sql.ResultSet.getDouble(java.lang.String) definition code for java.sql.ResultSet.getDouble(java.lang.String) , getFetchDirection sample code for java.sql.ResultSet.getFetchDirection() definition code for java.sql.ResultSet.getFetchDirection() , getFetchSize sample code for java.sql.ResultSet.getFetchSize() definition code for java.sql.ResultSet.getFetchSize() , getFloat sample code for java.sql.ResultSet.getFloat(int) definition code for java.sql.ResultSet.getFloat(int) , getFloat sample code for java.sql.ResultSet.getFloat(java.lang.String) definition code for java.sql.ResultSet.getFloat(java.lang.String) , getInt sample code for java.sql.ResultSet.getInt(int) definition code for java.sql.ResultSet.getInt(int) , getInt sample code for java.sql.ResultSet.getInt(java.lang.String) definition code for java.sql.ResultSet.getInt(java.lang.String) , getLong sample code for java.sql.ResultSet.getLong(int) definition code for java.sql.ResultSet.getLong(int) , getLong sample code for java.sql.ResultSet.getLong(java.lang.String) definition code for java.sql.ResultSet.getLong(java.lang.String) , getMetaData sample code for java.sql.ResultSet.getMetaData() definition code for java.sql.ResultSet.getMetaData() , getObject sample code for java.sql.ResultSet.getObject(int) definition code for java.sql.ResultSet.getObject(int) , getObject sample code for java.sql.ResultSet.getObject(int, java.util.Map) definition code for java.sql.ResultSet.getObject(int, java.util.Map) , getObject sample code for java.sql.ResultSet.getObject(java.lang.String) definition code for java.sql.ResultSet.getObject(java.lang.String) , getObject sample code for java.sql.ResultSet.getObject(java.lang.String, java.util.Map) definition code for java.sql.ResultSet.getObject(java.lang.String, java.util.Map) , getRef sample code for java.sql.ResultSet.getRef(int) definition code for java.sql.ResultSet.getRef(int) , getRef sample code for java.sql.ResultSet.getRef(java.lang.String) definition code for java.sql.ResultSet.getRef(java.lang.String) , getRow sample code for java.sql.ResultSet.getRow() definition code for java.sql.ResultSet.getRow() , getShort sample code for java.sql.ResultSet.getShort(int) definition code for java.sql.ResultSet.getShort(int) , getShort sample code for java.sql.ResultSet.getShort(java.lang.String) definition code for java.sql.ResultSet.getShort(java.lang.String) , getStatement sample code for java.sql.ResultSet.getStatement() definition code for java.sql.ResultSet.getStatement() , getString sample code for java.sql.ResultSet.getString(int) definition code for java.sql.ResultSet.getString(int) , getString sample code for java.sql.ResultSet.getString(java.lang.String) definition code for java.sql.ResultSet.getString(java.lang.String) , getTime sample code for java.sql.ResultSet.getTime(int) definition code for java.sql.ResultSet.getTime(int) , getTime sample code for java.sql.ResultSet.getTime(int, java.util.Calendar) definition code for java.sql.ResultSet.getTime(int, java.util.Calendar) , getTime sample code for java.sql.ResultSet.getTime(java.lang.String) definition code for java.sql.ResultSet.getTime(java.lang.String) , getTime sample code for java.sql.ResultSet.getTime(java.lang.String, java.util.Calendar) definition code for java.sql.ResultSet.getTime(java.lang.String, java.util.Calendar) , getTimestamp sample code for java.sql.ResultSet.getTimestamp(int) definition code for java.sql.ResultSet.getTimestamp(int) , getTimestamp sample code for java.sql.ResultSet.getTimestamp(int, java.util.Calendar) definition code for java.sql.ResultSet.getTimestamp(int, java.util.Calendar) , getTimestamp sample code for java.sql.ResultSet.getTimestamp(java.lang.String) definition code for java.sql.ResultSet.getTimestamp(java.lang.String) , getTimestamp sample code for java.sql.ResultSet.getTimestamp(java.lang.String, java.util.Calendar) definition code for java.sql.ResultSet.getTimestamp(java.lang.String, java.util.Calendar) , getType sample code for java.sql.ResultSet.getType() definition code for java.sql.ResultSet.getType() , getUnicodeStream sample code for java.sql.ResultSet.getUnicodeStream(int) definition code for java.sql.ResultSet.getUnicodeStream(int)