|
From: Dain S. <dsu...@us...> - 2002-09-21 23:38:09
|
User: dsundstrom
Date: 02/09/21 16:38:08
Modified: src/etc/conf/default Tag: Branch_3_2
standardjbosscmp-jdbc.xml
Log:
Fixed sqrt mapping for postgres.
Revision Changes Path
No revision
No revision
1.39.2.4 +2 -2 jboss/src/etc/conf/default/standardjbosscmp-jdbc.xml
Index: standardjbosscmp-jdbc.xml
===================================================================
RCS file: /cvsroot/jboss/jboss/src/etc/conf/default/standardjbosscmp-jdbc.xml,v
retrieving revision 1.39.2.3
retrieving revision 1.39.2.4
diff -u -r1.39.2.3 -r1.39.2.4
--- standardjbosscmp-jdbc.xml 16 Sep 2002 20:33:58 -0000 1.39.2.3
+++ standardjbosscmp-jdbc.xml 21 Sep 2002 23:38:08 -0000 1.39.2.4
@@ -866,7 +866,7 @@
</function-mapping>
<function-mapping>
<function-name>sqrt</function-name>
- <function-sql>sqrt(?1)</function-sql>
+ <function-sql>sqrt(CAST(?1 AS double precision))</function-sql>
</function-mapping>
<function-mapping>
<function-name>ucase</function-name>
@@ -988,7 +988,7 @@
</function-mapping>
<function-mapping>
<function-name>sqrt</function-name>
- <function-sql>sqrt(?1)</function-sql>
+ <function-sql>sqrt(CAST(?1 AS double precision))</function-sql>
</function-mapping>
<function-mapping>
<function-name>ucase</function-name>
|