IT. Expert System.

Android Reference

RowSetWriter


javax.sql

Interface RowSetWriter



  • public interface RowSetWriter
    An interface which provides functionality for a disconnected RowSet to put data updates back to the data source from which the RowSet was originally populated. An object implementing this interface is called a writer.

    The writer must establish a connection to the RowSet's database before writing the data. The RowSet calling this interface must implement the RowSetInternal interface.

    The writer may encounter a situation where the updated data needs to be written back to the database, but has already been updated there in the mean time. How a conflict of this kind is handled is determined by the implementation of this writer.

    See Also:
    RowSetInternal
    • Method Summary

      Methods
      Modifier and Type Method and Description
      boolean writeData(RowSetInternal theRowSet)
      Writes changes made in the RowSet, which is associated with this RowSetWriter, back to the database.
    • Method Detail

      • writeData

        boolean writeData(RowSetInternal theRowSet)
                          throws SQLException
        Writes changes made in the RowSet, which is associated with this RowSetWriter, back to the database.
        Parameters:
        theRowSet - a row set that fulfills the following criteria:
        • it must implement the RowSetInternal interface,
        • have this RowSetWriter registered with it,
        • must call this method internally.
        Returns:
        true if the modified data was written, false otherwise (which typically implies some form of conflict).
        Throws:
        SQLException - if a problem occurs accessing the database.


Content

Android Reference

Java basics

Java Enterprise Edition (EE)

Java Standard Edition (SE)

SQL

HTML

PHP

CSS

Java Script

MYSQL

JQUERY

VBS

REGEX

C

C++

C#

Design patterns

RFC (standard status)

RFC (proposed standard status)

RFC (draft standard status)

RFC (informational status)

RFC (experimental status)

RFC (best current practice status)

RFC (historic status)

RFC (unknown status)

IT dictionary

License.
All information of this service is derived from the free sources and is provided solely in the form of quotations. This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 2835 / . Delta: 0.02461 с