empire-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ivan Nemeth (JIRA)" <empire-db-...@incubator.apache.org>
Subject [jira] [Assigned] (EMPIREDB-233) Remove MSSQL DateFormat dependency
Date Sun, 08 Nov 2015 15:13:11 GMT

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

Ivan Nemeth reassigned EMPIREDB-233:
------------------------------------

    Assignee: Ivan Nemeth

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

Mime
View raw message