db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dag.Wan...@Sun.COM (Dag H. Wanvik)
Subject Re: [jira] Created: (DERBY-2771) Unhelpful error message provided when accesing Blob after commit in the client driver
Date Thu, 07 Jun 2007 01:09:30 GMT
"Kristian Waagan (JIRA)" <jira@apache.org> writes:

> 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

I think this one is not good, the user doesn't "supply a locator" as
such in JDBC so it may be confusing. I would prefer XJ073 to be used
in all cases where lifetime is ended, perhaps extending the verbiage
to include free() as a possibility?

Just my 0.02c, I haven't followed this very closely  lately..


> Is this error message too technical?
> Should the embedded and the client driver behave in a consistent manner?

View raw message