Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
-
None
-
Operating System: All
Platform: All
-
26260
Description
A suggestion to allow users to flexibly subclass RowSetDynaClass...
The current RowSetDynaClass implementation has a method "copy(ResultSet
resultSet)" which has a hardcoded "new BasicDynaBean(this)". Instead, perhaps
it should use "this.newInstance()".
RowSetDynaClass.newInstance() should then of course be implemented as "return
new BasicDynaBean(this)" instead of throwing an exception.
A subclass of RowSetDynaClass can then specify its own DynaBean subclasses,
rather than be forced to use the hardcoded BasicDynaBean.
thanks,
yennersnow@yahoo.com