public static final class FbBatchConfig.Immutable extends java.lang.Object implements FbBatchConfig
FbBatchConfig.Immutable
CONTINUE_ON_ERROR, HALT_AT_FIRST_ERROR, NO_UPDATE_COUNTS, SERVER_DEFAULT_BUFFER_SIZE, SERVER_DEFAULT_DETAILED_ERRORS, SERVER_MAXIMUM_BUFFER_SIZE, UPDATE_COUNTS
Modifier and Type | Method and Description |
---|---|
int |
batchBufferSize()
Server-side batch buffer size in bytes.
|
int |
detailedErrors()
Number of detailed errors to return.
|
FbBatchConfig |
immutable() |
boolean |
multiError()
Multi-error behaviour.
|
boolean |
updateCounts()
Report update counts per element (called "record counts" in Firebird).
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
of, populateBatchParameterBuffer
public boolean multiError()
FbBatchConfig
multiError
in interface FbBatchConfig
true
request multi-error (continue on failure), or false
to halt execution on first errorpublic boolean updateCounts()
FbBatchConfig
updateCounts
in interface FbBatchConfig
true
report update counts, false
do not report update countspublic int detailedErrors()
FbBatchConfig
A value of 0
disables detailed errors. When a value < 0
is returned, the server-side default is
used (64 as of Firebird 4
). Requesting detailed errors exceeding the maximum (256 as of Firebird 4) will
be silently set to the server maximum.
detailedErrors
in interface FbBatchConfig
0
to disable detailed errors, < 0
for server defaultpublic int batchBufferSize()
FbBatchConfig
When a value < 0
is returned, the server-side default (16MB as of Firebird 4) will be used.
When a value of 0
is returned , the server-side maximum will be used. Requesting buffer sizes exceeding
the maximum (256MB as of Firebird 4) will be silently set to the server maximum.
batchBufferSize
in interface FbBatchConfig
< 0
to use server-side default (16MB as of Firebird 4),
0
for the server-side maximum (256MB as of Firebird 4)public FbBatchConfig immutable()
immutable
in interface FbBatchConfig
Copyright © 2001-2023 Jaybird (Firebird JDBC) team. All rights reserved.