You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Richard Liang (JIRA)" <ji...@apache.org> on 2006/09/27 05:42:55 UTC

[jira] Created: (HARMONY-1597) [classlib][sql] In some situation, SQLState is not set when a SQLException is thrown in DriverManager

[classlib][sql] In some situation, SQLState is not set when a SQLException is thrown in DriverManager
-----------------------------------------------------------------------------------------------------

                 Key: HARMONY-1597
                 URL: http://issues.apache.org/jira/browse/HARMONY-1597
             Project: Harmony
          Issue Type: Bug
          Components: App-Oriented Bug Reports
            Reporter: Richard Liang


Hello,

In some situation, SQLState is not set when a SQLException is thrown in DriverManager. For example, url is null when calling DriverManager.getConnection. 

I will attach a patch to fix this issue. Thanks a lot.

Best regards,
Richard

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

        

[jira] Updated: (HARMONY-1597) [classlib][sql] In some situation, SQLState is not set when a SQLException is thrown in DriverManager

Posted by "Richard Liang (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-1597?page=all ]

Richard Liang updated HARMONY-1597:
-----------------------------------

    Attachment: new.HARMONY-1597.diff

Hello,

Sorry. The previous patch contains absolute path. Please new the new one. Thanks a lot.

Best regards,
Richard

> [classlib][sql] In some situation, SQLState is not set when a SQLException is thrown in DriverManager
> -----------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-1597
>                 URL: http://issues.apache.org/jira/browse/HARMONY-1597
>             Project: Harmony
>          Issue Type: Bug
>          Components: App-Oriented Bug Reports
>            Reporter: Richard Liang
>         Attachments: HARMONY-1597.diff, new.HARMONY-1597.diff
>
>
> Hello,
> In some situation, SQLState is not set when a SQLException is thrown in DriverManager. For example, url is null when calling DriverManager.getConnection. 
> I will attach a patch to fix this issue. Thanks a lot.
> Best regards,
> Richard

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

        

[jira] Commented: (HARMONY-1597) [classlib][sql] In some situation, SQLState is not set when a SQLException is thrown in DriverManager

Posted by "Richard Liang (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/HARMONY-1597?page=comments#action_12438318 ] 
            
Richard Liang commented on HARMONY-1597:
----------------------------------------

Hello Tim,

The fix looks good. Please close this issue. Thank you.

Best regards,
Richard.

> [classlib][sql] In some situation, SQLState is not set when a SQLException is thrown in DriverManager
> -----------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-1597
>                 URL: http://issues.apache.org/jira/browse/HARMONY-1597
>             Project: Harmony
>          Issue Type: Bug
>          Components: App-Oriented Bug Reports
>            Reporter: Richard Liang
>         Assigned To: Tim Ellison
>         Attachments: HARMONY-1597.diff, new.HARMONY-1597.diff
>
>
> Hello,
> In some situation, SQLState is not set when a SQLException is thrown in DriverManager. For example, url is null when calling DriverManager.getConnection. 
> I will attach a patch to fix this issue. Thanks a lot.
> Best regards,
> Richard

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

        

[jira] Resolved: (HARMONY-1597) [classlib][sql] In some situation, SQLState is not set when a SQLException is thrown in DriverManager

Posted by "Tim Ellison (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-1597?page=all ]

Tim Ellison resolved HARMONY-1597.
----------------------------------

    Resolution: Fixed

Thanks Richard.

Patch applied to SQL module at repo revision r450416.

Please check that the patch was applied as you expected.


> [classlib][sql] In some situation, SQLState is not set when a SQLException is thrown in DriverManager
> -----------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-1597
>                 URL: http://issues.apache.org/jira/browse/HARMONY-1597
>             Project: Harmony
>          Issue Type: Bug
>          Components: App-Oriented Bug Reports
>            Reporter: Richard Liang
>         Assigned To: Tim Ellison
>         Attachments: HARMONY-1597.diff, new.HARMONY-1597.diff
>
>
> Hello,
> In some situation, SQLState is not set when a SQLException is thrown in DriverManager. For example, url is null when calling DriverManager.getConnection. 
> I will attach a patch to fix this issue. Thanks a lot.
> Best regards,
> Richard

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

        

[jira] Assigned: (HARMONY-1597) [classlib][sql] In some situation, SQLState is not set when a SQLException is thrown in DriverManager

Posted by "Tim Ellison (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-1597?page=all ]

Tim Ellison reassigned HARMONY-1597:
------------------------------------

    Assignee: Tim Ellison

> [classlib][sql] In some situation, SQLState is not set when a SQLException is thrown in DriverManager
> -----------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-1597
>                 URL: http://issues.apache.org/jira/browse/HARMONY-1597
>             Project: Harmony
>          Issue Type: Bug
>          Components: App-Oriented Bug Reports
>            Reporter: Richard Liang
>         Assigned To: Tim Ellison
>         Attachments: HARMONY-1597.diff, new.HARMONY-1597.diff
>
>
> Hello,
> In some situation, SQLState is not set when a SQLException is thrown in DriverManager. For example, url is null when calling DriverManager.getConnection. 
> I will attach a patch to fix this issue. Thanks a lot.
> Best regards,
> Richard

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

        

[jira] Closed: (HARMONY-1597) [classlib][sql] In some situation, SQLState is not set when a SQLException is thrown in DriverManager

Posted by "Tim Ellison (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-1597?page=all ]

Tim Ellison closed HARMONY-1597.
--------------------------------


Verified by Richard.


> [classlib][sql] In some situation, SQLState is not set when a SQLException is thrown in DriverManager
> -----------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-1597
>                 URL: http://issues.apache.org/jira/browse/HARMONY-1597
>             Project: Harmony
>          Issue Type: Bug
>          Components: App-Oriented Bug Reports
>            Reporter: Richard Liang
>         Assigned To: Tim Ellison
>         Attachments: HARMONY-1597.diff, new.HARMONY-1597.diff
>
>
> Hello,
> In some situation, SQLState is not set when a SQLException is thrown in DriverManager. For example, url is null when calling DriverManager.getConnection. 
> I will attach a patch to fix this issue. Thanks a lot.
> Best regards,
> Richard

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

        

[jira] Updated: (HARMONY-1597) [classlib][sql] In some situation, SQLState is not set when a SQLException is thrown in DriverManager

Posted by "Richard Liang (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-1597?page=all ]

Richard Liang updated HARMONY-1597:
-----------------------------------

    Attachment: HARMONY-1597.diff

Hello,

Would you please try this patch? Thank you ;-)

Best regards,
Richard

> [classlib][sql] In some situation, SQLState is not set when a SQLException is thrown in DriverManager
> -----------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-1597
>                 URL: http://issues.apache.org/jira/browse/HARMONY-1597
>             Project: Harmony
>          Issue Type: Bug
>          Components: App-Oriented Bug Reports
>            Reporter: Richard Liang
>         Attachments: HARMONY-1597.diff
>
>
> Hello,
> In some situation, SQLState is not set when a SQLException is thrown in DriverManager. For example, url is null when calling DriverManager.getConnection. 
> I will attach a patch to fix this issue. Thanks a lot.
> Best regards,
> Richard

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