db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tfisc...@apache.org
Subject svn commit: r1070067 - /db/torque/torque4/trunk/torque-templates/src/main/resources/org/apache/torque/templates/om/templates/dbObject/base/primaryKeyMethods.vm
Date Sat, 12 Feb 2011 13:00:31 GMT
Author: tfischer
Date: Sat Feb 12 13:00:30 2011
New Revision: 1070067

URL: http://svn.apache.org/viewvc?rev=1070067&view=rev
Log:
fix dateKey usage in setPrimaryKey(String)

Modified:
    db/torque/torque4/trunk/torque-templates/src/main/resources/org/apache/torque/templates/om/templates/dbObject/base/primaryKeyMethods.vm

Modified: db/torque/torque4/trunk/torque-templates/src/main/resources/org/apache/torque/templates/om/templates/dbObject/base/primaryKeyMethods.vm
URL: http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-templates/src/main/resources/org/apache/torque/templates/om/templates/dbObject/base/primaryKeyMethods.vm?rev=1070067&r1=1070066&r2=1070067&view=diff
==============================================================================
--- db/torque/torque4/trunk/torque-templates/src/main/resources/org/apache/torque/templates/om/templates/dbObject/base/primaryKeyMethods.vm
(original)
+++ db/torque/torque4/trunk/torque-templates/src/main/resources/org/apache/torque/templates/om/templates/dbObject/base/primaryKeyMethods.vm
Sat Feb 12 13:00:30 2011
@@ -149,7 +149,7 @@
       #end
     #elseif($columnFieldType == "String")
         ${setter}(keys[$i].toString());
-    #elseif($columnFieldType == "Date")
+    #elseif($columnFieldType == "java.util.Date")
         ${setter}(((DateKey) keys[$i]).getDate());
     #elseif($columnFieldType == "Boolean" || $columnFieldType == "boolean")
         ${setter}(((BooleanKey) keys[$i]).getBoolean());



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