SQL 的模板实现 nutz-sqltpl

码农软件 · 软件分类 · ORM/持久层框架 · 2019-09-22 14:42:16

软件介绍

简单介绍

    1、使用 xml 对 sql 片段进行管理,类似 mybatis

    2、可以自定义渲染 sql 的引擎,默认采用 beetl html 引擎渲染

    3、不干涉 Nutz 事务只负责渲染 sql

<!-- maven -->
<dependency>
  <groupId>com.github.threefish</groupId>
  <artifactId>nutz-sqltpl</artifactId>
  <version>1.3.RELEASE</version>
</dependency>

自问自答

    1、为什么写这个插件?

        答:使用 Nutz Orm 操作数据时难免遇到复杂的 sql,java 中去拼接导致难以维护和理解。

    2、为什么用 XML 方式进行管理?

        答:类似 mybatis 管理方式看起来会比较熟悉,而且这样对 ide 比较友好。

 软件使用方法请看README.md

本文地址:https://www.codercto.com/soft/d/15159.html

Web Development Recipes

Web Development Recipes

Brian P. Hogan、Chris Warren、Mike Weber、Chris Johnson、Aaron Godin / Pragmatic Bookshelf / 2012-1-22 / USD 35.00

You'll see a full spectrum of cutting-edge web development techniques, from UI and eye candy recipes to solutions for data analysis, testing, and web hosting. Make buttons and content stand out with s......一起来看看 《Web Development Recipes》 这本书的介绍吧!

MD5 加密
MD5 加密

MD5 加密工具

RGB CMYK 转换工具
RGB CMYK 转换工具

RGB CMYK 互转工具