Uploaded image for project: 'Commons BeanUtils'
  1. Commons BeanUtils
  2. BEANUTILS-150

RowSetDynaClass hardcodes BasicDynaBean

    XMLWordPrintableJSON

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

      Attachments

        Activity

          People

            Unassigned Unassigned
            yennersnow@yahoo.com Yen Snow
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: