db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew McIntyre (JIRA)" <derby-...@db.apache.org>
Subject [jira] Commented: (DERBY-1566) Document SQLStates in 10.2
Date Fri, 08 Sep 2006 05:11:25 GMT
    [ http://issues.apache.org/jira/browse/DERBY-1566?page=comments#action_12433322 ] 
            
Andrew McIntyre commented on DERBY-1566:
----------------------------------------

While Dan's suggestion here:

http://mail-archives.apache.org/mod_mbox/db-derby-dev/200608.mbox/%3c44F62247.2080500@apache.org%3e

to generate the message file and doc from a single XML file would be ideal, a simpler approach
to implement would be to maintain the meanings of the markers in another properties file,
identified by message key and marker number. So, e.g. the new properties file would contain:

01500.0=<constraintName>
01500.1=<tableName>

Then ErrorMessageGenerator could look up the value of the markers by SQLState and MessageFormat
marker number in the properties file, although this approach would require maintaining two
files instead of one.

> Document SQLStates in 10.2
> --------------------------
>
>                 Key: DERBY-1566
>                 URL: http://issues.apache.org/jira/browse/DERBY-1566
>             Project: Derby
>          Issue Type: Improvement
>          Components: Documentation
>    Affects Versions: 10.2.1.0
>            Reporter: Rick Hillegas
>         Assigned To: Jean T. Anderson
>             Fix For: 10.2.1.0
>
>         Attachments: code-4.diff, derby-1566-1.diff, derby-1566-2.diff, derby-1566-3.diff,
derby-1566-generatorDavidJeanJohnRick.diff, ErrorMessageGenerator.david.diffs, ErrorMessageGenerator.david.diffs2,
ErrorMessageGenerator.david.diffs3, ErrorMessageGenerator.david.java, ErrorMessageGenerator.java,
ErrorMessageGenerator_davidv3_john.diff, newmsgs-10.2.txt, rrefexcept-2.html, rrefexcept-3.html,
rrefexcept-4.dita, rrefexcept-4.html, rrefexcept71493.html
>
>
> We need to update the Reference Guide to document the current list of SQLStates. This
list goes into
> Reference Guide
>   Derby exception messages and SQL states
>     SQLState and error message reference
> The tool mentioned in DERBY-296 may be useful.

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

        

Mime
View raw message