db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Fox (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (TORQUE-217) Date default values should be possible
Date Fri, 31 Aug 2012 01:44:07 GMT

     [ https://issues.apache.org/jira/browse/TORQUE-217?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Thomas Fox resolved TORQUE-217.

    Resolution: Fixed

Date default values are now handled such that the java default value is set to null, because
database time and java time might differ. However, the default is written to the database
if the field was not changed and is retrieved from database on read.
> Date default values should be possible
> --------------------------------------
>                 Key: TORQUE-217
>                 URL: https://issues.apache.org/jira/browse/TORQUE-217
>             Project: Torque
>          Issue Type: Bug
>          Components: Templates
>    Affects Versions: 3.3, 3.3.1
>            Reporter: Thomas Fox
>            Assignee: Thomas Fox
>             Fix For: 4.0-beta1
> Currently, it is not possible to set a Date value (eg.1970-01-01 00:00:01) as default
value. The default value is rendered to the java code unchanged, without quotes, causing compile
> The default should also be rendered as default to the database SQL.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org

View raw message