com.github.andyshaox.jdbc.SqlAssembly Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of GearEE Show documentation
Show all versions of GearEE Show documentation
Enhance and formating the coding of JDK
package com.github.andyshaox.jdbc;
import java.lang.reflect.Method;
/**
*
* Title:
* Descript:
* Copyright: Copryright(c) Mar 10, 2016
* Encoding:UNIX UTF-8
*
* @author Andy.Shao
*
*/
public interface SqlAssembly {
public static final SqlAssembly DEFAUL = (dao , method , args) -> dao.getSqls().get(method).getSql();
String assemble(Dao dao , Method method , Object... args);
}