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

com.github.chengyuxing.sql.support.SqlInvokeHandler Maven / Gradle / Ivy

Go to download

Light wrapper of JDBC, support ddl, dml, query, plsql/procedure/function, transaction and manage sql file.

There is a newer version: 9.0.2
Show newest version
package com.github.chengyuxing.sql.support;

import com.github.chengyuxing.sql.BakiDao;

import java.lang.reflect.Method;

@FunctionalInterface
public interface SqlInvokeHandler {
    /**
     * Handle sql execution result
     *
     * @param bakiDao           BakiDao
     * @param sqlRef            sql reference (&alias.sqlName)
     * @param args              args
     * @param method            invoked method
     * @param returnType        method return type
     * @param returnGenericType method return generic type
     * @return execute result
     * @throws Throwable throwable
     */
    Object handle(BakiDao bakiDao, String sqlRef, Object args, Method method, Class returnType, Class returnGenericType) throws Throwable;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy