This library is a framework for generating dynamic SQL statements. Think of it as a typesafe SQL templating library, with additional support for MyBatis3 and Spring JDBC Templates.
The library will generate full DELETE, INSERT, SELECT, and UPDATE statements formatted for use by MyBatis or Spring. The most common use case is to generate statements, and a matching set of parameters, that can be directly used by MyBatis. The library will also generate statements and parameter objects that are compatible with Spring JDBC templates.
The library works by implementing an SQL-like DSL that creates an object containing a full SQL statement and any parameters required for that statement. The SQL statement object can be used directly by MyBatis as a parameter to a mapper method.
The library also contains extensions for Kotlin that enable an idiomatic Kotlin DSL.
See the following pages for further information:
Page | Comments |
---|---|
Quick Start | Shows a complete example of building code for this library |
MyBatis3 Support | Information about specialized support for MyBatis3. The examples on this page are similar to the code generated by MyBatis Generator |
Kotlin Support with MyBatis3 | Information about the Kotlin extensions and Kotlin DSL when using MyBatis3 as the runtime |
Spring Support | Information about specialized support for Spring JDBC Templates |
Kotlin Support with Spring | Information about the Kotlin extensions and Kotlin DSL when using Spring JDBC Template as the runtime |
Spring Batch Support | Information about specialized support for Spring Batch using the MyBatis Spring Integration |
The library has no dependencies. Java 8 or higher is required.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。