Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6373733

The spec should clearly specify the way of instantiation the rowset implementation classes

XMLWordPrintable

    • b120
    • generic
    • generic
    • Not verified

      Currently, JSR 114 specification does not say much about the the way of instantiation of rowset implementation classes. There are a some words about that in "2.0 Standard RowSet Definitions":
      -------------------------------------------------
      ...
      JdbcRowSet - A wrapper around a ResultSet object that makes it possible to use the result set as a JavaBeansTM component.
      ...
      CachedRowSet - A CachedRowSet object is a JavaBeansTM component that is scrollable, updatable, serializable, and generally disconnected from the source of its data.
      ...
      -------------------------------------------------
      The spec says that classes suppose to be JavaBean component which implies that rowset class should have a default constructor. Such implicit definition may cause incompatibility between different JSR 114 implementations.

            lancea Lance Andersen
            agavrilosunw Alexey Gavrilov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: