equal
deleted
inserted
replaced
1102 * @see #setSyncProvider |
1102 * @see #setSyncProvider |
1103 */ |
1103 */ |
1104 public SyncProvider getSyncProvider() throws SQLException; |
1104 public SyncProvider getSyncProvider() throws SQLException; |
1105 |
1105 |
1106 /** |
1106 /** |
1107 * Sets the <code>SyncProvider</code> objec for this <code>CachedRowSet</code> |
1107 * Sets the <code>SyncProvider</code> object for this <code>CachedRowSet</code> |
1108 * object to the one specified. This method |
1108 * object to the one specified. This method |
1109 * allows the <code>SyncProvider</code> object to be reset. |
1109 * allows the <code>SyncProvider</code> object to be reset. |
1110 * <P> |
1110 * <P> |
1111 * A <code>CachedRowSet</code> implementation should always be instantiated |
1111 * A <code>CachedRowSet</code> implementation should always be instantiated |
1112 * with an available <code>SyncProvider</code> mechanism, but there are |
1112 * with an available <code>SyncProvider</code> mechanism, but there are |
1171 * <P> |
1171 * <P> |
1172 * The original value for a <code>RowSet</code> object is the value it had before |
1172 * The original value for a <code>RowSet</code> object is the value it had before |
1173 * the last synchronization with the underlying data source. If there have been |
1173 * the last synchronization with the underlying data source. If there have been |
1174 * no synchronizations, the original value will be the value with which the |
1174 * no synchronizations, the original value will be the value with which the |
1175 * <code>RowSet</code> object was populated. This method is called internally |
1175 * <code>RowSet</code> object was populated. This method is called internally |
1176 * when an aplication calls the method <code>acceptChanges</code> and the |
1176 * when an application calls the method <code>acceptChanges</code> and the |
1177 * <code>SyncProvider</code> object has been implemented to check for conflicts. |
1177 * <code>SyncProvider</code> object has been implemented to check for conflicts. |
1178 * If this is the case, the writer compares the original value with the value |
1178 * If this is the case, the writer compares the original value with the value |
1179 * currently in the data source to check for conflicts. |
1179 * currently in the data source to check for conflicts. |
1180 * |
1180 * |
1181 * @return a <code>ResultSet</code> object that contains the original value for |
1181 * @return a <code>ResultSet</code> object that contains the original value for |