db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jean T. Anderson (JIRA)" <derby-...@db.apache.org>
Subject [jira] Updated: (DERBY-1566) Document SQLStates in 10.2
Date Tue, 29 Aug 2006 02:16:24 GMT
     [ http://issues.apache.org/jira/browse/DERBY-1566?page=all ]

Jean T. Anderson updated DERBY-1566:
------------------------------------

    Attachment: ErrorMessageGenerator.java
                rrefexcept71493.html

ErrorMessageGenerator.java is a copy of DERBY-296's app modified as follows:

1) Replaced the "-//IBM//DTD DITA Reference//EN" with ""-//OASIS//DTD DITA Reference//EN"

2) Some tags needed a space .  For example, the 'xml' in this tag:
<reference id="rrefexcept13113"xml:lang="en-us">
needed a space before the 'xml' so xml parsing would succeed:
<reference id="rrefexcept13113" xml:lang="en-us">

3) Needed some close tags for DITA processing to succeed.

Running it outputs two errors:
$ java ErrorMessageGenerator
Unable to determine code for SQL State 0A000
Unable to determine code for SQL State 39004

The DITA source that it generates needs one manual change. The message for 42Y04 has '<'
and '>' in the message.
Change this: <full java path>.<method name>
To this:     &lt;full java path&gt;.&lt;method name&gt;

rrefexcept71493.html shows sample output.



> 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: David Van Couvering
>             Fix For: 10.2.1.0
>
>         Attachments: ErrorMessageGenerator.java, 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