You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Rick Rineholt (JIRA)" <tu...@ws.apache.org> on 2006/04/03 04:04:43 UTC

[jira] Created: (TUSCANY-146) commonj.sdo.Real/real ?

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


[jira] Closed: (TUSCANY-146) commonj.sdo.Real/real ?

Posted by "Rick Rineholt (JIRA)" <tu...@ws.apache.org>.
     [ http://issues.apache.org/jira/browse/TUSCANY-146?page=all ]
     
Rick Rineholt closed TUSCANY-146:
---------------------------------

    Resolution: Fixed

http://svn.apache.org/viewcvs?rev=392974&view=rev

> 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
>     Assignee: 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


[jira] Assigned: (TUSCANY-146) commonj.sdo.Real/real ?

Posted by "Rick Rineholt (JIRA)" <tu...@ws.apache.org>.
     [ http://issues.apache.org/jira/browse/TUSCANY-146?page=all ]

Rick Rineholt reassigned TUSCANY-146:
-------------------------------------

    Assign To: Rick Rineholt

> 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
>     Assignee: 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


[jira] Commented: (TUSCANY-146) commonj.sdo.Real/real ?

Posted by "Rick Rineholt (JIRA)" <tu...@ws.apache.org>.
    [ 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