You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@turbine.apache.org by dl...@apache.org on 2001/08/17 02:56:51 UTC
cvs commit: jakarta-turbine-2/conf/torque/templates/sql/base/mssql db.props
dlr 01/08/16 17:56:51
Modified: conf/torque/templates/sql/base/mssql db.props
Log:
Backporting fixes from jakarta-turbine-torque HEAD:
* Added correction by Artem Grinshtein <ar...@yahoo.com>:
"Mapping TIME to TIMESTAMP is wrong for MSSQL-database.
The value of a timestamp column is unique within a
MSSQL-database and updated every time a row
containing a timestamp column is inserted or updated.
The correct solution is
TIME = DATETIME"
* Changed mapping for JDBC TIMESTAMP from native data type DATETIME to
TIMESTAMP.
Revision Changes Path
1.2 +2 -2 jakarta-turbine-2/conf/torque/templates/sql/base/mssql/db.props
Index: db.props
===================================================================
RCS file: /home/cvs/jakarta-turbine-2/conf/torque/templates/sql/base/mssql/db.props,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -u -r1.1 -r1.2
--- db.props 2001/08/16 05:07:00 1.1
+++ db.props 2001/08/17 00:56:51 1.2
@@ -15,8 +15,8 @@
VARCHAR = VARCHAR
LONGVARCHAR = TEXT
DATE = DATETIME
-TIME = TIMESTAMP
-TIMESTAMP = DATETIME
+TIME = DATETIME
+TIMESTAMP = TIMESTAMP
BINARY = BINARY
VARBINARY = IMAGE
LONGVARBINARY = IMAGE
---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-dev-help@jakarta.apache.org