You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by bu...@apache.org on 2004/01/19 23:54:12 UTC
DO NOT REPLY [Bug 26260] New: -
RowSetDynaClass hardcodes BasicDynaBean
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26260>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26260
RowSetDynaClass hardcodes BasicDynaBean
Summary: RowSetDynaClass hardcodes BasicDynaBean
Product: Commons
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: Normal
Priority: Other
Component: Bean Utilities
AssignedTo: commons-dev@jakarta.apache.org
ReportedBy: yennersnow@yahoo.com
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
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org