You are viewing a plain text version of this content. The canonical link for it is here.
Posted to torque-dev@db.apache.org by tf...@apache.org on 2012/01/17 02:44:57 UTC

svn commit: r1232257 - /db/torque/torque4/trunk/torque-templates/src/main/java/org/apache/torque/templates/platform/PlatformMysqlImpl.java

Author: tfischer
Date: Tue Jan 17 01:44:57 2012
New Revision: 1232257

URL: http://svn.apache.org/viewvc?rev=1232257&view=rev
Log:
TORQUE-179: map Torque type DATE to MySQL type DATE
TORQUE-11: map Torque type TIMESTAMP  to MySQL type DATETIME

Modified:
    db/torque/torque4/trunk/torque-templates/src/main/java/org/apache/torque/templates/platform/PlatformMysqlImpl.java

Modified: db/torque/torque4/trunk/torque-templates/src/main/java/org/apache/torque/templates/platform/PlatformMysqlImpl.java
URL: http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-templates/src/main/java/org/apache/torque/templates/platform/PlatformMysqlImpl.java?rev=1232257&r1=1232256&r2=1232257&view=diff
==============================================================================
--- db/torque/torque4/trunk/torque-templates/src/main/java/org/apache/torque/templates/platform/PlatformMysqlImpl.java (original)
+++ db/torque/torque4/trunk/torque-templates/src/main/java/org/apache/torque/templates/platform/PlatformMysqlImpl.java Tue Jan 17 01:44:57 2012
@@ -51,7 +51,7 @@ public class PlatformMysqlImpl extends P
                 SchemaType.LONGVARCHAR,
                 new SqlType("MEDIUMTEXT"));
         setSchemaTypeToSqlTypeMapping(
-                SchemaType.DATE,
+                SchemaType.TIMESTAMP,
                 new SqlType("DATETIME"));
         setSchemaTypeToSqlTypeMapping(
                 SchemaType.BINARY,



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