Commons JCS
  1. Commons JCS
  2. JCS-84

information loss and ambiguous field names in JDBCDiskCache

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: jcs-1.3, jcs-2.0.0
    • Fix Version/s: jcs-2.0.0
    • Component/s: JDBC Disk Cache
    • Labels:
      None

      Description

      in JDBCDiskCache CREATE_TIME is defined as DATE, not as TIMESTAMP (or DATETIME in mysql) so the time information is lost greatly reducing the usability of the field. Also, CREATE_TIME_SECONDS is not actually a create time but an update time since it is set to current time on every update.

      attached patch solves both issues

      1. jcs-84.patch
        4 kB
        Aleksandar Ivanisevic

        Activity

          People

          • Assignee:
            Thomas Vandahl
            Reporter:
            Aleksandar Ivanisevic
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development