Class PreparedStatementDetailsStandard
java.lang.Object
org.hibernate.engine.jdbc.mutation.internal.PreparedStatementDetailsStandard
- All Implemented Interfaces:
PreparedStatementDetails
Describes a particular
PreparedStatement
within a group-
Constructor Summary
ConstructorsConstructorDescriptionPreparedStatementDetailsStandard
(PreparableMutationOperation tableMutation, String sql, Supplier<PreparedStatement> jdbcStatementCreator, Expectation expectation, JdbcServices jdbcServices) PreparedStatementDetailsStandard
(PreparableMutationOperation tableMutation, Supplier<PreparedStatement> jdbcStatementCreator, JdbcServices jdbcServices) -
Method Summary
Modifier and TypeMethodDescriptionThe expectation used to validate the outcome of the executionThe name of the mutating tableThe SQL used to mutate the tableThePreparedStatement
generated from the SQL.void
ThePreparedStatement
generated from the SQL.boolean
toString()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.hibernate.engine.jdbc.mutation.group.PreparedStatementDetails
isCallable
-
Constructor Details
-
PreparedStatementDetailsStandard
public PreparedStatementDetailsStandard(PreparableMutationOperation tableMutation, Supplier<PreparedStatement> jdbcStatementCreator, JdbcServices jdbcServices) -
PreparedStatementDetailsStandard
public PreparedStatementDetailsStandard(PreparableMutationOperation tableMutation, String sql, Supplier<PreparedStatement> jdbcStatementCreator, Expectation expectation, JdbcServices jdbcServices)
-
-
Method Details
-
getMutatingTableDetails
Description copied from interface:PreparedStatementDetails
The name of the mutating table- Specified by:
getMutatingTableDetails
in interfacePreparedStatementDetails
-
getSqlString
Description copied from interface:PreparedStatementDetails
The SQL used to mutate the table- Specified by:
getSqlString
in interfacePreparedStatementDetails
-
getStatement
Description copied from interface:PreparedStatementDetails
ThePreparedStatement
generated from the SQL. May return null.- Specified by:
getStatement
in interfacePreparedStatementDetails
- See Also:
-
resolveStatement
Description copied from interface:PreparedStatementDetails
ThePreparedStatement
generated from the SQL.Unlike
PreparedStatementDetails.getStatement()
, this method will attempt to create the PreparedStatement- Specified by:
resolveStatement
in interfacePreparedStatementDetails
-
getExpectation
Description copied from interface:PreparedStatementDetails
The expectation used to validate the outcome of the execution- Specified by:
getExpectation
in interfacePreparedStatementDetails
-
toRelease
public boolean toRelease()- Specified by:
toRelease
in interfacePreparedStatementDetails
-
toString
-