All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.kestra.plugin.jdbc.AutoCommitInterface Maven / Gradle / Ivy

package io.kestra.plugin.jdbc;

import io.kestra.core.models.annotations.PluginProperty;
import io.swagger.v3.oas.annotations.media.Schema;

public interface AutoCommitInterface {
    @Schema(
        title = "Whether autocommit is enabled.",
        description = "Sets this connection's auto-commit mode to the given state. If a connection is in auto-commit " +
            "mode, then all its SQL statements will be executed and committed as individual transactions. Otherwise, " +
            "its SQL statements are grouped into transactions that are terminated by a call to either the method commit " +
            "or the method rollback. By default, new connections are in auto-commit mode except when you are using " +
            "`store` property in which case the auto-commit will be disabled."
    )
    @PluginProperty(dynamic = false)
    Boolean getAutoCommit();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy