- /*
- * Copyright 2002 Sun Microsystems, Inc. All rights reserved.
- * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
- */
-
- package javax.sql;
-
- import java.sql.*;
-
- /**
- * <P>An object that implements the RowSetWriter interface may be registered
- * with a RowSet object that supports the reader/writer paradigm.
- * The RowSetWriter.writeRow() method is called internally by a RowSet that supports
- * the reader/writer paradigm to write the contents of the rowset to a data source.
- */
-
- public interface RowSetWriter {
-
- /**
- <P>This method is called to write data to the data source
- that is backing the rowset.
-
- * @param caller the calling rowset
- * @return true if the row was written, false if not due to a conflict
- * @exception SQLException if a database-access error occur
- */
- boolean writeData(RowSetInternal caller) throws SQLException;
-
- }