Uploaded image for project: 'Commons JCS'
  1. Commons JCS
  2. JCS-84

information loss and ambiguous field names in JDBCDiskCache

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • jcs-1.3, jcs-2.0-beta-1
    • jcs-2.0-beta-1
    • JDBC Disk Cache
    • 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

      Attachments

        1. jcs-84.patch
          4 kB
          Aleksandar Ivanisevic

        Activity

          People

            tv Thomas Vandahl
            aivanise Aleksandar Ivanisevic
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: