1 Star 0 Fork 0

恋风 / btg-sql-plugin

Create your Gitee Account
Explore and code with more than 6 million developers,Free private repositories !:)
Sign up
This repository doesn't specify license. Without author's permission, this code is only for learning and cannot be used for other purposes.
Clone or download
Cancel
Notice: Creating folder will generate an empty file .keep, because not support in Git
Loading...
README.md

V1.0.1 初始化 SqlManager.init("sql配置文件路径"); 调用 Map<String, Object> map = new HashMap<String, Object>(); map.put("str", "张"); System.out.println(SqlManager.instance().getSqlNative("user.test", map)); System.out.println(SqlManager.instance().getSqlHandler("user.test", map).sql); xml配置文件示例

1 ]]> order by uname limit #{offset}, #{limit} 1 ]]>

Comments ( 0 )

Sign in for post a comment

About

使用xml进行sql的配置,支持 if 标签并支持表达式,使用#{xxx}进行?替换,使用@进行字符串替换 spread retract
Cancel

Releases

No release

Contributors

All

Activities

load more
can not load any more
Java
1
https://gitee.com/lianfeng/btg-sql-plugin.git
git@gitee.com:lianfeng/btg-sql-plugin.git
lianfeng
btg-sql-plugin
btg-sql-plugin
master

Search