[ 
https://issues.apache.org/jira/browse/SQOOP-808?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Nick White updated SQOOP-808:
-----------------------------

    Attachment: SQOOP-808.1.patch

I've attached a revised patch that uses the top level exception if 
getNextException returns null. While HSQLDB chains the SQLException as a cause 
of the BatchUpdateException, postgres' 
http://jdbc.postgresql.org/download/postgresql-8.4-703.jdbc4.jar driver doesn't 
(it only adds the SQLException as a getNextException). 

I agree that this incompatibility may cause problems if there's a 
getNextException and useful information in the BatchUpdateException's cause, 
but I'm not sure what to do about that...(are there any databases that do this?)


                
> SQLExceptions From Batched Exports Aren't Very Helpful
> ------------------------------------------------------
>
>                 Key: SQOOP-808
>                 URL: https://issues.apache.org/jira/browse/SQOOP-808
>             Project: Sqoop
>          Issue Type: Bug
>    Affects Versions: 1.4.2
>            Reporter: Nick White
>             Fix For: 1.4.3
>
>         Attachments: SQOOP-808.1.patch, SQOOP-808.patch
>
>
> They just show the error messages from the BatchUpdateException, which has a 
> generic message saying look at the result of getNextException() for specific 
> details.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to