- Notifications
You must be signed in to change notification settings - Fork6
Thymeleaf scripting plugin for MyBatis
License
mybatis/thymeleaf-scripting
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
MyBatis Thymeleaf 3 Scripting Support.
The mybatis-thymeleaf is a plugin that helps applying a SQL using template provided by Thymeleaf 3.If you are not familiar with Thymeleaf 3 syntax, you can see the Thymeleaf documentations.
SELECT*FROM namesWHERE id=/*[# mb:p="id"]*/1/*[/]*/
SELECT*FROM namesWHERE1=1/*[# th:if="${not #lists.isEmpty(ids)}"]*/AND idIN (/*[# mb:p="ids"]*/1/*[/]*/ )/*[/]*/ORDER BY id
SELECT*FROM namesWHERE1=1 [# th:if="${not #lists.isEmpty(ids)}"]AND idIN ( [# mb:p="ids" /] ) [/]ORDER BY id
- Java 8, Java 11+
- MyBatis 3.4.3+ (Recommend to use 3.5+ or 3.4.x latest version)
- Thymeleaf 3.0+ (Recommend to use 3.0.x latest version)
When there is a question, at first please confirm whether exists same question at following web sites.
If you cannot find a same question, please post new question to themailing list or theStack Overflow.
When you found a bug or want to submit a feature request(new feature or current feature improvement), at first please confirm whether exists same bug or request at following pages.
If you cannot find a same report or request, please post new issue to theissue tracker.
IMPORTANT:
When you found a security vulnerability, at first please report it to themybatis organization members instead of issue tracker.
About
Thymeleaf scripting plugin for MyBatis
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
Uh oh!
There was an error while loading.Please reload this page.
Contributors7
Uh oh!
There was an error while loading.Please reload this page.