[ 
http://issues.apache.org/jira/browse/TUSCANY-939?page=comments#action_12452067 
] 
            
Kevin Williams commented on TUSCANY-939:
----------------------------------------

Wojtek's issue should be incorporated as part of this JIRA.  He tried to port a 
DAS sample to Oracle from Derby with the result that queries produced empty 
graphs.  This was corrected by adding explicit result shape descriptors in the 
config but an infromative exception should have been thrown when the DAS 
detected the lack of good ResultSetMetadata as well as no explicit shape 
description in the config.

> DAS Should throw an exception when ResultSetMetadata is invalid
> ---------------------------------------------------------------
>
>                 Key: TUSCANY-939
>                 URL: http://issues.apache.org/jira/browse/TUSCANY-939
>             Project: Tuscany
>          Issue Type: Improvement
>          Components: Java DAS RDB
>    Affects Versions: Java-Mx
>            Reporter: Kevin Williams
>            Priority: Minor
>             Fix For: Java-Mx
>
>
> This test seems to have strayed from its original purpose.
> C:\apacheSVN\java\das\rdb\src\test\java\org\apache\tuscany\das\rdb\test\ResultSetShapeTests.java
>  "testReadSingleVerifyShapeUse"
> The query used intentionally produces invalid ResultSetMetadata and there is 
> no ResultSetShape specified to override its use by the DAS.  Since the test 
> assumes the ResultSetMetadata is invalid, I would expect the DAS to throw and 
> exception rather than return an invalid data graph which it seems to be doing.

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

        

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

Reply via email to