[ 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 errors. > 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-unsubscr...@db.apache.org For additional commands, e-mail: torque-dev-h...@db.apache.org