empire-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rei...@apache.org
Subject svn commit: r700145 - /incubator/empire-db/trunk/core/Empire-db/src/org/apache/empire/db/hsql/DBDatabaseDriverHSql.java
Date Mon, 29 Sep 2008 14:55:46 GMT
Author: reiher
Date: Mon Sep 29 07:55:45 2008
New Revision: 700145

URL: http://svn.apache.org/viewvc?rev=700145&view=rev
Log:
 EMPIREDB-20: replaced to_char() by convert(?, CHAR) 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=700145&r1=700144&r2=700145&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 Sep 29 07:55:45 2008
@@ -200,7 +200,7 @@
                         return "to_char(?, '"+format.toString()+"')";
                     }
                 }
-                return "to_char(?)";
+                return "convert(?, CHAR)";
             case INTEGER:
             {
                 return "convert(?, BIGINT)";



Mime
View raw message