![JAR search and dependency download from the Maven repository](/logo.png)
org.babyfish.jimmer.sql.runtime.Executor Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jimmer-sql Show documentation
Show all versions of jimmer-sql Show documentation
A revolutionary ORM framework for both java and kotlin
package org.babyfish.jimmer.sql.runtime;
import org.babyfish.jimmer.meta.ImmutableProp;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
import org.slf4j.Logger;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.SQLException;
import java.util.List;
import java.util.function.BiFunction;
public interface Executor {
R execute(@NotNull Args args);
BatchContext executeBatch(
@NotNull Connection con,
@NotNull String sql,
@Nullable ImmutableProp generatedIdProp,
@NotNull ExecutionPurpose purpose,
@NotNull JSqlClientImplementor sqlClient
);
/**
* This method will never be invoked unless the current operation is `Query.forEach`
*
* For `Query.forEach`, SQL execution result log have to be printed after children fetching,
* this method can give SQL logger a chance to print SQL before children fetching
*/
default void openCursor(
long cursorId,
String sql,
List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy