[
https://issues.apache.org/jira/browse/EMPIREDB-233?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ivan Nemeth resolved EMPIREDB-233.
----------------------------------
Resolution: Fixed
Added to git
> Remove MSSQL DateFormat dependency
> ----------------------------------
>
> Key: EMPIREDB-233
> URL: https://issues.apache.org/jira/browse/EMPIREDB-233
> Project: Empire-DB
> Issue Type: Improvement
> Reporter: Ivan Nemeth
> Assignee: Ivan Nemeth
> Priority: Minor
>
> Currently with MSSQL driver the correct dateformat must be set to 'ymd' on
> every connection. By modifying the SQL_DATETIME_TEMPLATE and
> SQL_DATE_TEMPLATE sql phrase values, we don't need this initialization
> anymore in the driver's attachDatabase method.
> SQL_DATE_TEMPLATE: "convert(date, '{0}', 121)";
> SQL_DATETIME_TEMPLATE: "convert(datetime, '{0}', 121)";
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)