[ 
https://issues.apache.org/jira/browse/TUSCANY-1436?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12512949
 ] 

Fuhwei Lwo commented on TUSCANY-1436:
-------------------------------------

The best spec section I can find is Section 8.1 that maps Java List<String> 
type to SDO Strings type. If this is acceptable, we can add a new mapping to 
the javaToSdoMappings table in the SDOHelperBase.java

> TypeHelper.getType(java.util.List.class) throws ClassCastException
> ------------------------------------------------------------------
>
>                 Key: TUSCANY-1436
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1436
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SDO Implementation
>    Affects Versions: Java-SDO-beta1, Java-SDO-1.0
>            Reporter: Raymond Feng
>            Priority: Critical
>
> The following simple test case fails:
> package org.apache.tuscany.sdo.test;
> import java.util.List;
> import junit.framework.TestCase;
> import commonj.sdo.helper.TypeHelper;
> /**
>  * @version $Rev$ $Date$
>  */
> public class TypeHelperTestCase extends TestCase {
>     public void testGetType() {
>         assertTrue(TypeHelper.INSTANCE.getType(List.class) instanceof 
> commonj.sdo.Type);
>     }
> }

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to