empire-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rei...@apache.org
Subject svn commit: r708216 - /incubator/empire-db/trunk/core/Empire-db/src/org/apache/empire/db/hsql/DBDatabaseDriverHSql.java
Date Mon, 27 Oct 2008 15:14:53 GMT
Author: reiher
Date: Mon Oct 27 08:14:52 2008
New Revision: 708216

URL: http://svn.apache.org/viewvc?rev=708216&view=rev
Log:
Bugfix for EMPIREDB-27: convertTo(DataType.DOUBLE) is now supported for hsqldb

Modified:
    incubator/empire-db/trunk/core/Empire-db/src/org/apache/empire/db/hsql/DBDatabaseDriverHSql.java

Modified: incubator/empire-db/trunk/core/Empire-db/src/org/apache/empire/db/hsql/DBDatabaseDriverHSql.java
URL: http://svn.apache.org/viewvc/incubator/empire-db/trunk/core/Empire-db/src/org/apache/empire/db/hsql/DBDatabaseDriverHSql.java?rev=708216&r1=708215&r2=708216&view=diff
==============================================================================
--- incubator/empire-db/trunk/core/Empire-db/src/org/apache/empire/db/hsql/DBDatabaseDriverHSql.java
(original)
+++ incubator/empire-db/trunk/core/Empire-db/src/org/apache/empire/db/hsql/DBDatabaseDriverHSql.java
Mon Oct 27 08:14:52 2008
@@ -209,6 +209,10 @@
             {
                 return "convert(?, DECIMAL)";
             }
+            case DOUBLE:
+            {
+                return "convert(?, DOUBLE)";
+            }
             // Unknown Type
             default:
                 log.error("getConvertPhrase: unknown type (" + String.valueOf(destType));



Mime
View raw message