public static final class SelectUtilities.BatchedStatement extends Object
| Constructor and Description | 
|---|
BatchedStatement(IfsPreparedStatement stmt,
                int batchSize)
Constructs a BatchedStatement. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
addToBatch()
Execute the statement within the batch. 
 | 
void | 
flush()
Flush the current batch, if there's any pending executions. 
 | 
int | 
getBatchSize()
Gets the batch size. 
 | 
IfsPreparedStatement | 
getStatement()
Gets the statement. 
 | 
public BatchedStatement(IfsPreparedStatement stmt, int batchSize)
stmt - the PreparedStatementbatchSize - the JDBC batch size to usepublic IfsPreparedStatement getStatement()
public int getBatchSize()
public void addToBatch()
                throws SQLException
SQLException - if operation failspublic void flush()
           throws SQLException
SQLException - if operation failsCopyright © 2025. All rights reserved.