Top Description Methods
org.hibernate.engine.jdbc.batch.spi

public Interface BatchKey

Known Direct Implementers
org.hibernate.engine.jdbc.batch.internal.BasicBatchKey
Imports
org.hibernate.jdbc.Expectation

Unique key for batch identification.
Author
Steve Ebersole

Method Summary

Modifier and TypeMethod and Description
public int

Returns:

The number of statements.
getBatchedStatementCount
()

How many statements will be in this batch?

public Expectation

Returns:

The expectations
getExpectation
()

Get the expectation pertaining to the outcome of the Batch associated with this key.

Method Detail

getBatchedStatementCountback to summary
public int getBatchedStatementCount()

How many statements will be in this batch?

Note that this is distinctly different than the size of the batch.

Returns:int

The number of statements.

getExpectationback to summary
public Expectation getExpectation()

Get the expectation pertaining to the outcome of the Batch associated with this key.

Returns:Expectation

The expectations