-
Bug
-
Resolution: Fixed
-
P4
-
6
-
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.
-------------------------------------------------
...
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.
- relates to
-
JDK-6275901 there is no way to get main interfaces implementation in JDBC RowSet API
-
- Closed
-