cool.scx.jdbc.sql.SQL Maven / Gradle / Ivy
package cool.scx.jdbc.sql;
import cool.scx.jdbc.dialect.Dialect;
import java.sql.PreparedStatement;
import java.sql.SQLException;
import java.util.List;
import java.util.Map;
/**
* 可包含参数的 SQL
*
* @author scx567888
* @version 0.0.1
*/
public interface SQL {
static SQL ofNormal(String normalSQL) {
return new NormalSQL(normalSQL);
}
static SQL ofPlaceholder(String normalSQL, Object... params) {
return new PlaceholderSQL(normalSQL, params);
}
static SQL ofPlaceholder(String normalSQL, List
© 2015 - 2024 Weber Informatics LLC | Privacy Policy