You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Thomas Vandahl (Resolved) (JIRA)" <ji...@apache.org> on 2011/10/30 19:10:32 UTC
[jira] [Resolved] (JCS-84) information loss and ambiguous field
names in JDBCDiskCache
[ https://issues.apache.org/jira/browse/JCS-84?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Thomas Vandahl resolved JCS-84.
-------------------------------
Resolution: Fixed
Fix Version/s: jcs-1.4-dev
Patch applied. Adjust unit test to comply with the patch.
> information loss and ambiguous field names in JDBCDiskCache
> -----------------------------------------------------------
>
> Key: JCS-84
> URL: https://issues.apache.org/jira/browse/JCS-84
> Project: JCS
> Issue Type: Improvement
> Components: JDBC Disk Cache
> Affects Versions: jcs-1.3, jcs-1.4-dev
> Reporter: Aleksandar Ivanisevic
> Assignee: Thomas Vandahl
> Priority: Minor
> Fix For: jcs-1.4-dev
>
> Attachments: jcs-84.patch
>
>
> 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
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira