db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Fox (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (TORQUE-288) Test Project fails with SQL Server 2005
Date Tue, 26 Nov 2013 20:36:36 GMT

    [ https://issues.apache.org/jira/browse/TORQUE-288?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13833022#comment-13833022
] 

Thomas Fox commented on TORQUE-288:
-----------------------------------

Currently both the platform class and the SQL template set are determined from the setting
torque.database during generation.
So supporting a new platform also means duplicating the mssql templates.
Given that there is an easy workaround for mssql 2005 users, namely to change all "date" columns
to "timestamp" colums in their schema, I'd rather not try to take extra steps for supporting
an old database ssystem with a limited set of data types. So I'll document the issue and the
workaround in the docs and leave it at this.

If anybody is not satisfied with this, please reopem the issue and provide a patch.

> Test Project fails with SQL Server 2005
> ---------------------------------------
>
>                 Key: TORQUE-288
>                 URL: https://issues.apache.org/jira/browse/TORQUE-288
>             Project: Torque
>          Issue Type: Bug
>          Components: Test Project
>    Affects Versions: 4.0
>         Environment: SQL Server 2005
>            Reporter: CG Monroe
>
> The date data type does not exist in SQL Server 2005 so sql execution fails



--
This message was sent by Atlassian JIRA
(v6.1#6144)

---------------------------------------------------------------------
To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org


Mime
View raw message