Top Description Methods
org.hibernate.engine.jdbc.mutation.group

public Interface PreparedStatementDetails

Known Direct Implementers
org.hibernate.engine.jdbc.mutation.internal.PreparedStatementDetailsStandard
Annotations
@Incubating
Imports
java.sql.CallableStatement, .PreparedStatement, org.hibernate.Incubating, org.hibernate.engine.spi.SharedSessionContractImplementor, org.hibernate.jdbc.Expectation, org.hibernate.sql.model.TableMapping

Descriptor for details about a PreparedStatement
Author
Steve Ebersole

Method Summary

Modifier and TypeMethod and Description
public Expectation
getExpectation()

The expectation used to validate the outcome of the execution

public TableMapping
getMutatingTableDetails()

The name of the mutating table

public String
getSqlString()

The SQL used to mutate the table

public PreparedStatement
getStatement()

The PreparedStatement generated from the SQL.

public default boolean
isCallable()

Whether the statement is callable

public void
public PreparedStatement
resolveStatement()

The PreparedStatement generated from the SQL.

Method Detail

getExpectationback to summary
public Expectation getExpectation()

The expectation used to validate the outcome of the execution

getMutatingTableDetailsback to summary
public TableMapping getMutatingTableDetails()

The name of the mutating table

getSqlStringback to summary
public String getSqlString()

The SQL used to mutate the table

getStatementback to summary
public PreparedStatement getStatement()

The PreparedStatement generated from the SQL. May return null.

See Also
resolveStatement()
isCallableback to summary
public default boolean isCallable()

Whether the statement is callable

releaseStatementback to summary
public void releaseStatement(SharedSessionContractImplementor session)
resolveStatementback to summary
public PreparedStatement resolveStatement()

The PreparedStatement generated from the SQL.

Unlike getStatement(), this method will attempt to create the PreparedStatement