Class AbstractTableInsertBuilder
java.lang.Object
org.hibernate.sql.model.ast.builder.AbstractTableMutationBuilder<TableInsert>
org.hibernate.sql.model.ast.builder.AbstractTableInsertBuilder
- All Implemented Interfaces:
SelectableConsumer
,ColumnValuesTableMutationBuilder
,TableInsertBuilder
,TableMutationBuilder<TableInsert>
- Direct Known Subclasses:
TableInsertBuilderStandard
,TableInsertReturningBuilder
public abstract class AbstractTableInsertBuilder
extends AbstractTableMutationBuilder<TableInsert>
implements TableInsertBuilder
Base support for TableInsertBuilder implementations
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.hibernate.metamodel.mapping.SelectableConsumer
SelectableConsumer.MutableSelectableMapping
-
Field Summary
Fields inherited from interface org.hibernate.sql.model.ast.builder.TableMutationBuilder
NULL
-
Constructor Summary
ConstructorsConstructorDescriptionAbstractTableInsertBuilder
(MutationTarget<?> mutationTarget, MutatingTableReference tableReference, SessionFactoryImplementor sessionFactory) AbstractTableInsertBuilder
(MutationTarget<?> mutationTarget, TableMapping table, SessionFactoryImplementor sessionFactory) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addKeyColumn
(String columnName, String columnWriteFragment, JdbcMapping jdbcMapping) Add a key columnvoid
addValueColumn
(String columnName, String columnWriteFragment, JdbcMapping jdbcMapping, boolean isLob) Add a column as part of the values listprotected List<ColumnValueBinding>
protected List<ColumnValueBinding>
protected List<ColumnValueBinding>
void
setSqlComment
(String sqlComment) Methods inherited from class org.hibernate.sql.model.ast.builder.AbstractTableMutationBuilder
addColumn, addColumn, combine, createValueBinding, createValueBinding, getJdbcServices, getMutatingTable, getMutationTarget, getParameters, getSessionFactory, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.hibernate.sql.model.ast.builder.ColumnValuesTableMutationBuilder
addKeyColumn, addValueColumn, addValueColumn
Methods inherited from interface org.hibernate.metamodel.mapping.SelectableConsumer
accept, accept
Methods inherited from interface org.hibernate.sql.model.ast.builder.TableInsertBuilder
accept
Methods inherited from interface org.hibernate.sql.model.ast.builder.TableMutationBuilder
buildMutation, getMutatingTable
-
Constructor Details
-
AbstractTableInsertBuilder
public AbstractTableInsertBuilder(MutationTarget<?> mutationTarget, TableMapping table, SessionFactoryImplementor sessionFactory) -
AbstractTableInsertBuilder
public AbstractTableInsertBuilder(MutationTarget<?> mutationTarget, MutatingTableReference tableReference, SessionFactoryImplementor sessionFactory)
-
-
Method Details
-
getSqlComment
-
setSqlComment
-
getKeyBindingList
-
getValueBindingList
-
getLobValueBindingList
-
addValueColumn
public void addValueColumn(String columnName, String columnWriteFragment, JdbcMapping jdbcMapping, boolean isLob) Description copied from interface:ColumnValuesTableMutationBuilder
Add a column as part of the values list- Specified by:
addValueColumn
in interfaceColumnValuesTableMutationBuilder
-
addKeyColumn
Description copied from interface:ColumnValuesTableMutationBuilder
Add a key column- Specified by:
addKeyColumn
in interfaceColumnValuesTableMutationBuilder
-