You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Rick Hillegas (JIRA)" <de...@db.apache.org> on 2006/09/01 01:22:23 UTC

[jira] Updated: (DERBY-1566) Document SQLStates in 10.2

     [ http://issues.apache.org/jira/browse/DERBY-1566?page=all ]

Rick Hillegas updated DERBY-1566:
---------------------------------

    Attachment: derby-1566-generatorDavidJeanJohnRick.diff

Committed derby-1566-generatorDavidJeanJohnRick.diff at subversion revision 439093. This checks in David's SQLState generator to trunk/java/build/org/apache/derbyBuild

Thanks to David for writing this program and to Jean and John for improving it. I have made the following changes:

1) Merged in John's changes which escape angle brackets in SQLState text.

2) Moused in Jean's text, which addresses Laura's concerns.

3) Fixed various issues with unclosed tags.

I'm a little concerned that so many of the tags were unclosed. I hope that I have not grabbed the wrong version of this generator. In any event, it should be more straightforward to improve this code now that it's in the trunk.

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

        

Re: [jira] Updated: (DERBY-1566) Document SQLStates in 10.2

Posted by John Embretsen <Jo...@Sun.COM>.
Rick Hillegas (JIRA) wrote:
>      [ http://issues.apache.org/jira/browse/DERBY-1566?page=all ]
> 
> Rick Hillegas updated DERBY-1566:
> ---------------------------------
> 
>     Attachment: derby-1566-generatorDavidJeanJohnRick.diff
> 
> Committed derby-1566-generatorDavidJeanJohnRick.diff at subversion revision 439093. This checks in David's SQLState generator to trunk/java/build/org/apache/derbyBuild
> 
> Thanks to David for writing this program and to Jean and John for improving it. I have made the following changes:
> 
> 1) Merged in John's changes which escape angle brackets in SQLState text.
> 
> 2) Moused in Jean's text, which addresses Laura's concerns.
> 
> 3) Fixed various issues with unclosed tags.
> 
> I'm a little concerned that so many of the tags were unclosed. I hope that I have not grabbed the wrong version of this generator. In any event, it should be more straightforward to improve this code now that it's in the trunk.


Well, I may have failed to explain clearly how I generated my diff, and 
I suspect that may be the reason for some of these issues (missing 
improvements made by Jean).

First, I downloaded ErrorMessageGenerator.david.java. Then, I patched 
this file using Jean's ErrorMessageGenerator.david.diffs3. I then made 
my changes and used 'diff -u' to extract my changes from those Jean had 
made. I.e., ErrorMessageGenerator_davidv3_john.diff is the difference 
between [ErrorMessageGenerator.david.java + 
ErrorMessageGenerator.david.diffs3] and my modified version of the same 
patched file. I hope you got it working in the end... It will definitely 
be easier to track changes now that the file is in SVN! :)


-- 
John