openjpa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fa...@apache.org
Subject svn commit: r601576 - /openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/InformixDictionary.java
Date Wed, 05 Dec 2007 23:37:35 GMT
Author: fancy
Date: Wed Dec  5 15:37:34 2007
New Revision: 601576

URL: http://svn.apache.org/viewvc?rev=601576&view=rev
Log:
OPENJPA-460 Can't convert to: Time, InformixDictionary needs timeTypeName set to "DATETIME
HOUR TO SECOND"

Modified:
    openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/InformixDictionary.java

Modified: openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/InformixDictionary.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/InformixDictionary.java?rev=601576&r1=601575&r2=601576&view=diff
==============================================================================
--- openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/InformixDictionary.java
(original)
+++ openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/InformixDictionary.java
Wed Dec  5 15:37:34 2007
@@ -111,7 +111,8 @@
         blobTypeName = "BYTE";
         doubleTypeName = "NUMERIC(32,20)";
         dateTypeName = "DATE";
-        timestampTypeName = "DATE";
+        timeTypeName = "DATETIME HOUR TO SECOND";
+        timestampTypeName = "DATETIME YEAR TO SECOND";
         doubleTypeName = "NUMERIC(32,20)";
         floatTypeName = "REAL";
         bigintTypeName = "NUMERIC(32,0)";



Mime
View raw message