db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dmitri Pissarenko" <dmitri.pissare...@gmail.com>
Subject Re: Maximum amount of data suitable for Derby
Date Sun, 31 Aug 2008 16:23:21 GMT
Hello!

Thanks for your answer

On Fri, Aug 29, 2008 at 6:27 PM, Rick Hillegas <Richard.Hillegas@sun.com> wrote:
> Hi Dmitri,
>
> If you are bulk-loading this data, then the following may help
>
> 1) You can use JDBC statement batching. Please see the javadoc for
> Statement.addBatch(), PreparedStatement.addBatch() and
> Statement.executeBatch() as well as this link:
> http://java.sun.com/j2se/1.3/docs/guide/jdbc/spec2/jdbc2.1.frame6.html

Imagine I have added 10 statements to PreparedStatement instance.

Now I execute executeBatch, and during execution of statement 5 a
BatchUpdateException occurs.

Does Derby try to execute the remaining statements, after an error has occurred?

Thanks in advance

Dmitri Pissarenko
-- 
http://www.xing.com/profile/Dmitri_Pissarenko

Mime
View raw message