You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@empire-db.apache.org by "Ivan Nemeth (JIRA)" <em...@incubator.apache.org> on 2015/11/08 16:27:10 UTC

[jira] [Resolved] (EMPIREDB-233) Remove MSSQL DateFormat dependency

     [ 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)