If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > MySQL > Dealing with exceptions

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 07-19-09, 18:58
ravivg ravivg is offline
Registered User
 
Join Date: Jul 2009
Posts: 5
Dealing with exceptions

I'm using the load statement and noticed that if one row in the file has a problem (e.g., one of the fields contains too many digits ) I get a message saying that the number was pruned, but the load is not completed.
I believe that if I would use the load from the command line, it will be completed, but since I use it from my Java program, it throws an exception that the program catches but doesn't continue with the load.

What's the best way to tell it to continue and complete the load even when it throws exceptions?

Thanks!
Ravivg
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On