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 "Rainer Döbele (JIRA)" <em...@incubator.apache.org> on 2016/11/09 08:06:58 UTC
[jira] [Closed] (EMPIREDB-233) Remove MSSQL DateFormat dependency
[ https://issues.apache.org/jira/browse/EMPIREDB-233?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rainer Döbele closed EMPIREDB-233.
----------------------------------
> 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)