Class ReactiveInsertGeneratedIdentifierDelegate
- java.lang.Object
-
- org.hibernate.reactive.generator.values.ReactiveInsertGeneratedIdentifierDelegate
-
- All Implemented Interfaces:
GeneratedValuesMutationDelegate
,InsertGeneratedIdentifierDelegate
,ReactiveGeneratedValuesMutationDelegate
public class ReactiveInsertGeneratedIdentifierDelegate extends Object implements InsertGeneratedIdentifierDelegate, ReactiveGeneratedValuesMutationDelegate
-
-
Constructor Summary
Constructors Constructor Description ReactiveInsertGeneratedIdentifierDelegate(InsertGeneratedIdentifierDelegate delegate)
-
Method Summary
-
-
-
Constructor Detail
-
ReactiveInsertGeneratedIdentifierDelegate
public ReactiveInsertGeneratedIdentifierDelegate(InsertGeneratedIdentifierDelegate delegate)
-
-
Method Detail
-
createTableInsertBuilder
public TableInsertBuilder createTableInsertBuilder(BasicEntityIdentifierMapping identifierMapping, Expectation expectation, SessionFactoryImplementor sessionFactory)
- Specified by:
createTableInsertBuilder
in interfaceInsertGeneratedIdentifierDelegate
-
prepareStatement
public PreparedStatement prepareStatement(String insertSql, SharedSessionContractImplementor session)
- Specified by:
prepareStatement
in interfaceGeneratedValuesMutationDelegate
- Specified by:
prepareStatement
in interfaceInsertGeneratedIdentifierDelegate
-
performInsert
public Object performInsert(PreparedStatementDetails insertStatementDetails, JdbcValueBindings valueBindings, Object entity, SharedSessionContractImplementor session)
- Specified by:
performInsert
in interfaceInsertGeneratedIdentifierDelegate
-
prepareIdentifierGeneratingInsert
public String prepareIdentifierGeneratingInsert(String insertSQL)
- Specified by:
prepareIdentifierGeneratingInsert
in interfaceInsertGeneratedIdentifierDelegate
-
performInsert
public Object performInsert(String insertSQL, SharedSessionContractImplementor session, Binder binder)
- Specified by:
performInsert
in interfaceInsertGeneratedIdentifierDelegate
-
performInsertReturning
public GeneratedValues performInsertReturning(String insertSQL, SharedSessionContractImplementor session, Binder binder)
- Specified by:
performInsertReturning
in interfaceInsertGeneratedIdentifierDelegate
-
createTableMutationBuilder
public TableMutationBuilder<?> createTableMutationBuilder(Expectation expectation, SessionFactoryImplementor sessionFactory)
- Specified by:
createTableMutationBuilder
in interfaceGeneratedValuesMutationDelegate
-
performMutation
public GeneratedValues performMutation(PreparedStatementDetails statementDetails, JdbcValueBindings valueBindings, Object entity, SharedSessionContractImplementor session)
- Specified by:
performMutation
in interfaceGeneratedValuesMutationDelegate
-
getTiming
public EventType getTiming()
- Specified by:
getTiming
in interfaceGeneratedValuesMutationDelegate
-
supportsArbitraryValues
public boolean supportsArbitraryValues()
- Specified by:
supportsArbitraryValues
in interfaceGeneratedValuesMutationDelegate
-
supportsRowId
public boolean supportsRowId()
- Specified by:
supportsRowId
in interfaceGeneratedValuesMutationDelegate
-
getGeneratedValuesMappingProducer
public JdbcValuesMappingProducer getGeneratedValuesMappingProducer()
- Specified by:
getGeneratedValuesMappingProducer
in interfaceGeneratedValuesMutationDelegate
-
reactivePerformMutation
public CompletionStage<GeneratedValues> reactivePerformMutation(PreparedStatementDetails singleStatementDetails, JdbcValueBindings jdbcValueBindings, Object modelReference, SharedSessionContractImplementor session)
- Specified by:
reactivePerformMutation
in interfaceReactiveGeneratedValuesMutationDelegate
-
-