tuscany-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lrese...@apache.org
Subject svn commit: r557443 - /incubator/tuscany/java/das/rdb/src/main/java/org/apache/tuscany/das/rdb/graphbuilder/schema/ResultSetTypeMap.java
Date Thu, 19 Jul 2007 01:24:06 GMT
Author: lresende
Date: Wed Jul 18 18:24:05 2007
New Revision: 557443

URL: http://svn.apache.org/viewvc?view=rev&rev=557443
Log:
TUSCANY-1453 - Applied patch from Leo Li

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

Modified: incubator/tuscany/java/das/rdb/src/main/java/org/apache/tuscany/das/rdb/graphbuilder/schema/ResultSetTypeMap.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/das/rdb/src/main/java/org/apache/tuscany/das/rdb/graphbuilder/schema/ResultSetTypeMap.java?view=diff&rev=557443&r1=557442&r2=557443
==============================================================================
--- incubator/tuscany/java/das/rdb/src/main/java/org/apache/tuscany/das/rdb/graphbuilder/schema/ResultSetTypeMap.java
(original)
+++ incubator/tuscany/java/das/rdb/src/main/java/org/apache/tuscany/das/rdb/graphbuilder/schema/ResultSetTypeMap.java
Wed Jul 18 18:24:05 2007
@@ -6,15 +6,15 @@
  * to you under the Apache License, Version 2.0 (the
  * "License"); you may not use this file except in compliance
  * with the License.  You may obtain a copy of the License at
- * 
+ *
  *   http://www.apache.org/licenses/LICENSE-2.0
- * 
+ *
  * Unless required by applicable law or agreed to in writing,
  * software distributed under the License is distributed on an
  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  * KIND, either express or implied.  See the License for the
  * specific language governing permissions and limitations
- * under the License.    
+ * under the License.
  */
 package org.apache.tuscany.das.rdb.graphbuilder.schema;
 
@@ -38,8 +38,8 @@
         // Empty Constructor
     }
 
-    /**    
-     * 
+    /**
+     *
      * @param type
      * @param isNullable
      * @return
@@ -65,30 +65,30 @@
                     return helper.getType("commonj.sdo", "Boolean");
                 }
                 return helper.getType("commonj.sdo", "boolean");
-                
+
 
             case Types.TINYINT:
             case Types.SMALLINT:
             case Types.INTEGER:
                 if (isNullable) {
                     return helper.getType("commonj.sdo", "IntObject");
-                } 
-                
+                }
+
                 return helper.getType("commonj.sdo", "Int");
-               
+
 
             case Types.BIGINT:
                 if (isNullable) {
                     return helper.getType("commonj.sdo", "Long");
-                } 
+                }
                 return helper.getType("commonj.sdo", "long");
 
             case Types.REAL:
                 if (isNullable) {
                     return helper.getType("commonj.sdo", "Float");
-                } 
+                }
                 return helper.getType("commonj.sdo", "float");
-                
+
 
             case Types.FLOAT:
             case Types.DOUBLE:
@@ -96,12 +96,12 @@
                     return helper.getType("commonj.sdo", "Double");
                 }
                 return helper.getType("commonj.sdo", "double");
-              
+
 
             case Types.BINARY:
             case Types.VARBINARY:
             case Types.LONGVARBINARY:
-                return helper.getType("commonj.sdo", "ByteArray");
+                return helper.getType("commonj.sdo", "Bytes");
 
             case Types.DATE:
             case Types.TIME:
@@ -112,7 +112,7 @@
                 return helper.getType("commonj.sdo", "Clob");
 
             case Types.BLOB:
-                return helper.getType("commonj.sdo", "Blob");
+                return helper.getType("commonj.sdo", "Bytes");
 
             case Types.ARRAY:
                 return helper.getType("commonj.sdo", "Array");



---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-commits-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-commits-help@ws.apache.org


Mime
View raw message