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 tableThePreparedStatementgenerated from the SQL.voidThePreparedStatementgenerated from the SQL.booleantoString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods 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:PreparedStatementDetailsThe name of the mutating table- Specified by:
getMutatingTableDetailsin interfacePreparedStatementDetails
-
getSqlString
Description copied from interface:PreparedStatementDetailsThe SQL used to mutate the table- Specified by:
getSqlStringin interfacePreparedStatementDetails
-
getStatement
Description copied from interface:PreparedStatementDetailsThePreparedStatementgenerated from the SQL. May return null.- Specified by:
getStatementin interfacePreparedStatementDetails- See Also:
-
resolveStatement
Description copied from interface:PreparedStatementDetailsThePreparedStatementgenerated from the SQL.Unlike
PreparedStatementDetails.getStatement(), this method will attempt to create the PreparedStatement- Specified by:
resolveStatementin interfacePreparedStatementDetails
-
getExpectation
Description copied from interface:PreparedStatementDetailsThe expectation used to validate the outcome of the execution- Specified by:
getExpectationin interfacePreparedStatementDetails
-
toRelease
public boolean toRelease()- Specified by:
toReleasein interfacePreparedStatementDetails
-
toString
-