[ 
https://issues.apache.org/jira/browse/DERBY-2771?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12502307
 ] 

Øystein Grøvlen commented on DERBY-2771:
----------------------------------------

It seems the translation works as I inteded it to.  That is, when the client 
gets an XJ217, it is wrapped in an XJ073.  Hence, the main error message wil be 
more helpful.  Is that sufficient, or do you think we need to suppress XJ217 
entirely to not confuse the user?  My thought was that chaining with the 
original exception would make it a bit easier to debug problems.

> Unhelpful error message provided when accesing Blob after commit in the 
> client driver
> -------------------------------------------------------------------------------------
>
>                 Key: DERBY-2771
>                 URL: https://issues.apache.org/jira/browse/DERBY-2771
>             Project: Derby
>          Issue Type: Bug
>          Components: JDBC, Network Client
>    Affects Versions: 10.3.0.0
>            Reporter: Kristian Waagan
>            Priority: Minor
>
> When accessing a Blob after commit in the embedded driver you get one of 
> these messages:
>   XJ215.S=You cannot invoke other java.sql.Clob/java.sql.Blob methods after 
> calling the free() method.
>   XJ073.S=The data in this BLOB or CLOB is no longer available.  The 
> BLOB/CLOB''s transaction may be committed, or its connection is closed.
> With the client driver you get this:
>   XJ217.S=The locator that was supplied for this CLOB/BLOB is invalid
> Is this error message too technical?
> Should the embedded and the client driver behave in a consistent manner?

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

Reply via email to