| Modifier and Type | Field and Description |
|---|---|
| private int | |
| private Expectation[] |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | addToBatch(Expectation expectation)
Implements org. |
| private void | |
| protected void | doExecuteBatch(PreparedStatement ps)
Implements abstract org. |
| batchSize | back to summary |
|---|---|
| private int batchSize | |
| expectations | back to summary |
|---|---|
| private Expectation[] expectations | |
| BatchingBatcher | back to summary |
|---|---|
| public BatchingBatcher(ConnectionManager connectionManager, Interceptor interceptor) | |
| addToBatch | back to summary |
|---|---|
| public void addToBatch(Expectation expectation) throws SQLException, HibernateException Implements org. Doc from org. Add an insert / delete / update to the current batch (might be called multiple times for single prepareBatchStatement()) | |
| checkRowCounts | back to summary |
|---|---|
| private void checkRowCounts(int[] rowCounts, PreparedStatement ps) throws SQLException, HibernateException | |
| doExecuteBatch | back to summary |
|---|---|
| protected void doExecuteBatch(PreparedStatement ps) throws SQLException, HibernateException Implements abstract org. | |