[ 
http://issues.apache.org/jira/browse/TUSCANY-146?page=comments#action_12372875 
] 

Rick Rineholt commented on TUSCANY-146:
---------------------------------------

The folloing worked better for me passed unit test too

Index: 
rdb/src/main/java/org/apache/tuscany/das/rdb/graphbuilder/schema/ResultSetTypeMap.java

===================================================================

--- 
rdb/src/main/java/org/apache/tuscany/das/rdb/graphbuilder/schema/ResultSetTypeMap.java
      (revision 390927)

+++ 
rdb/src/main/java/org/apache/tuscany/das/rdb/graphbuilder/schema/ResultSetTypeMap.java
      (working copy)

@@ -82,9 +82,9 @@

 
                case Types.REAL:
                        if (isNullable)
-                               return helper.getType("commonj.sdo", "Real");
+                               return helper.getType("commonj.sdo", "Float");
                        else
-                               return helper.getType("commonj.sdo", "real");
+                               return helper.getType("commonj.sdo", "float");
 
                case Types.FLOAT:
                case Types.DOUBLE:








> commonj.sdo.Real/real ?
> -----------------------
>
>          Key: TUSCANY-146
>          URL: http://issues.apache.org/jira/browse/TUSCANY-146
>      Project: Tuscany
>         Type: Bug

>   Components: Java DAS RDB
>  Environment: all HEAD
>     Reporter: Rick Rineholt

>
> Getting an NPE with a table using SQL REAL type
> Should it be :

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to