Uploaded image for project: 'Commons DbUtils'
  1. Commons DbUtils
  2. DBUTILS-121

Allow influencing the setter method used

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.6
    • 1.7
    • None

    Description

      I have cases where the field in a bean doesn't quite match the column it is stored as. e.g. Timestamp in the database but org.joda.DateTime in the bean. It would be nice to allow the bean processor to have influence over which setter method is used, so that a setter can take a parameter that's the type of the database column but convert it to the internally stored type.

      Attachments

        1. dbutils-121.patch
          1 kB
          Carl Franklin Hall

        Activity

          People

            thecarlhall Carl Franklin Hall
            thecarlhall Carl Franklin Hall
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: