db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tfisc...@apache.org
Subject svn commit: r1232257 - /db/torque/torque4/trunk/torque-templates/src/main/java/org/apache/torque/templates/platform/PlatformMysqlImpl.java
Date Tue, 17 Jan 2012 01:44:57 GMT
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


Mime
View raw message