Class SqlAstTranslatorWithUpsert<T extends JdbcOperation>

java.lang.Object
org.hibernate.dialect.sql.ast.spi.AbstractSqlAstTranslator<T>
org.hibernate.dialect.sql.ast.spi.SqlAstTranslatorWithUpsert<T>
All Implemented Interfaces:
Appendable, SqlAstWalker, SqlAstTranslator<T>, SqlAppender

@Deprecated(forRemoval=true, since="8.0") public class SqlAstTranslatorWithUpsert<T extends JdbcOperation> extends AbstractSqlAstTranslator<T>
Deprecated, for removal: This API element is subject to removal in a future version.
Base SqlAstTranslator for translators which support an insert-or-update (UPSERT) command
  • Constructor Details

    • SqlAstTranslatorWithUpsert

      protected SqlAstTranslatorWithUpsert(SqlAstTranslationRequest<? extends Statement, T> request)
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • createMergeOperation

      public MutationOperation createMergeOperation(OptionalTableUpdate optionalTableUpdate)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Create the MutationOperation for performing the DELETE or UPSERT
    • expectation

      protected Expectation expectation(OptionalTableUpdate optionalTableUpdate)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • renderUpsertStatement

      protected void renderUpsertStatement(OptionalTableUpdate optionalTableUpdate)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • renderMergeInto

      protected void renderMergeInto(OptionalTableUpdate optionalTableUpdate)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • renderMergeTargetAlias

      protected void renderMergeTargetAlias()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • renderMergeUsing

      protected void renderMergeUsing(OptionalTableUpdate optionalTableUpdate)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • wrapMergeSourceExpression

      protected boolean wrapMergeSourceExpression()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • renderMergeSource

      protected void renderMergeSource(OptionalTableUpdate optionalTableUpdate)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • renderMergeSourceAlias

      protected void renderMergeSourceAlias()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • renderMergeOn

      protected void renderMergeOn(OptionalTableUpdate optionalTableUpdate)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • renderMergeInsert

      protected void renderMergeInsert(OptionalTableUpdate optionalTableUpdate)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • renderMergeUpdate

      protected void renderMergeUpdate(OptionalTableUpdate optionalTableUpdate)
      Deprecated, for removal: This API element is subject to removal in a future version.