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: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


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,
[EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to