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

cn.icuter.jsql.executor.JdbcExecutor Maven / Gradle / Ivy

The newest version!
package cn.icuter.jsql.executor;

import cn.icuter.jsql.builder.Builder;
import cn.icuter.jsql.exception.JSQLException;

import java.io.Closeable;
import java.io.IOException;
import java.util.List;
import java.util.Map;

/**
 * For {@link Builder} execution
 *
 * @author edward
 * @since 2018-08-07
 */
public interface JdbcExecutor extends Closeable {
    int execUpdate(Builder builder) throws JSQLException;

     List execQuery(Builder builder, Class clazz) throws JSQLException;

    List> execQuery(Builder builder) throws JSQLException;

    void execBatch(List builders) throws JSQLException;

    void close() throws IOException;
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy