接口 SaveOptions


public interface SaveOptions
  • 方法详细资料

    • getSqlClient

      JSqlClientImplementor getSqlClient()
    • getConnection

      Connection getConnection()
    • getMode

      SaveMode getMode()
    • getAssociatedMode

      AssociatedSaveMode getAssociatedMode(org.babyfish.jimmer.meta.ImmutableProp prop)
    • getTriggers

      Triggers getTriggers()
    • getKeyMatcher

      org.babyfish.jimmer.meta.KeyMatcher getKeyMatcher(org.babyfish.jimmer.meta.ImmutableType type)
    • getUpsertMask

      @Nullable @Nullable UpsertMask<?> getUpsertMask(org.babyfish.jimmer.meta.ImmutableType type)
    • getDeleteMode

      DeleteMode getDeleteMode()
    • getMaxCommandJoinCount

      int getMaxCommandJoinCount()
    • getDissociateAction

      org.babyfish.jimmer.sql.DissociateAction getDissociateAction(org.babyfish.jimmer.meta.ImmutableProp prop)
    • isTargetTransferable

      boolean isTargetTransferable(org.babyfish.jimmer.meta.ImmutableProp prop)
    • isPessimisticLocked

      boolean isPessimisticLocked(org.babyfish.jimmer.meta.ImmutableType type)
    • getUnloadedVersionBehavior

      UnloadedVersionBehavior getUnloadedVersionBehavior(org.babyfish.jimmer.meta.ImmutableType type)
    • getUserOptimisticLock

      UserOptimisticLock<?,?> getUserOptimisticLock(org.babyfish.jimmer.meta.ImmutableType type)
    • isAutoCheckingProp

      boolean isAutoCheckingProp(org.babyfish.jimmer.meta.ImmutableProp prop)
    • isIdOnlyAsReference

      boolean isIdOnlyAsReference(org.babyfish.jimmer.meta.ImmutableProp prop)
    • isKeyOnlyAsReference

      boolean isKeyOnlyAsReference(org.babyfish.jimmer.meta.ImmutableProp prop)
    • isBatchForbidden

      boolean isBatchForbidden()
    • isConstraintViolationTranslatable

      boolean isConstraintViolationTranslatable()
    • getExceptionTranslator

      @Nullable @Nullable ExceptionTranslator<Exception> getExceptionTranslator()
    • isTransactionRequired

      boolean isTransactionRequired()
    • withMode

      default SaveOptions withMode(SaveMode mode)
    • withSqlClient

      default SaveOptions withSqlClient(JSqlClientImplementor sqlClient)