All Projects → mybatis → thymeleaf-scripting

mybatis / thymeleaf-scripting

Licence: Apache-2.0 license
Thymeleaf scripting plugin for MyBatis

Programming Languages

java
68154 projects - #9 most used programming language
HTML
75241 projects

Labels

Projects that are alternatives of or similar to thymeleaf-scripting

lightbatis
Lightbatis 增强 MyBatis 版Java 数据库持久层,更简洁并易用
Stars: ✭ 52 (+225%)
Mutual labels:  mybatis
t-blog
简洁的个人博客系统 springboot+thymeleaf+mybatis+tale.js+redis
Stars: ✭ 22 (+37.5%)
Mutual labels:  mybatis
sqle
SQLE is a SQL audit platform | SQLE 是一个支持多场景,原生支持 MySQL 审核且数据库类型可扩展的 SQL 审核工具
Stars: ✭ 731 (+4468.75%)
Mutual labels:  mybatis
bookshop
网上书店(java)
Stars: ✭ 44 (+175%)
Mutual labels:  mybatis
mybatis-generator-gui-plus
基于MyBatis-Generator+SQLite+beautyeye_lnf开发的一款图形化代码生成器
Stars: ✭ 16 (+0%)
Mutual labels:  mybatis
atguigu ssm crud
Atguigu-SSM-CRUD 一个最基本的CRUD系统,采用IDEA+Maven搭建,具备前后端交互功能,前端采用BootStrap+Ajax异步请求DOM渲染,后端采用SpringMVC+MyBatis+Mysql8.0+Servlet+Jsp,符合REST风格URL规范,并加入了Hibernate提供的数据校验功能,支持PageHelper的分页功能,很适合SSM阶段性练习。同时用到了很多前端操作以及BootStrap组件,也有利于学习JS和前端框架。
Stars: ✭ 52 (+225%)
Mutual labels:  mybatis
RuoYi-Vue-Oracle
🎉 (RuoYi)官方仓库 基于SpringBoot,Spring Security,JWT,Vue & Element 的前后端分离权限管理系统
Stars: ✭ 225 (+1306.25%)
Mutual labels:  mybatis
hqc mp
微信小程序+微信管理后台+微信用户前台
Stars: ✭ 69 (+331.25%)
Mutual labels:  mybatis
RuoYi-Vue-Plus
基于RuoYi-Vue集成 Lombok+Mybatis-Plus+Undertow+knife4j+Hutool+Feign 重写所有原生业务 定期与RuoYi-Vue同步
Stars: ✭ 110 (+587.5%)
Mutual labels:  mybatis
Student-Information-Administration-System
大学生信息管理系统——初学路上自己摸索实践的项目
Stars: ✭ 91 (+468.75%)
Mutual labels:  mybatis
waynboot-sso
基于SpringBoot,Shiro,Redis,Mybatis,SSO的多模块系统,包含了SSO单点登陆, 通用后台管理,NewBee-mall商城,每日一文等多个模块,支持Shiro与SSO模块的集成,易于上手,学习,二次开发。
Stars: ✭ 33 (+106.25%)
Mutual labels:  mybatis
learning
学习笔记
Stars: ✭ 17 (+6.25%)
Mutual labels:  mybatis
springboot-learning-demo
springboot学习示例
Stars: ✭ 17 (+6.25%)
Mutual labels:  mybatis
springboot-action
Spring Boot 入门学习示例。
Stars: ✭ 29 (+81.25%)
Mutual labels:  mybatis
Graduate
预约挂号系统的后台WEB
Stars: ✭ 34 (+112.5%)
Mutual labels:  mybatis
mybatis
Mybatis study
Stars: ✭ 66 (+312.5%)
Mutual labels:  mybatis
LSFramework
手写山寨版spring学习aop、ioc思想的demo,没看过spring的源码,因为实在是太庞大了,参考部分网上博客及开源代码完成。
Stars: ✭ 53 (+231.25%)
Mutual labels:  mybatis
anyangdp-frame
基于mybatis,springboot,tk.mybatis等框架二次开发,实现crud,controller,service,dao。
Stars: ✭ 16 (+0%)
Mutual labels:  mybatis
app
本科期间写的一些应用程序
Stars: ✭ 40 (+150%)
Mutual labels:  mybatis
DAFramework
云南数聚基础框架
Stars: ✭ 25 (+56.25%)
Mutual labels:  mybatis

MyBatis Thymeleaf 3 Support

Java CI Coverage Status Maven central Sonatype Nexus (Snapshots) License

thymeleaf-scripting

MyBatis Thymeleaf 3 Scripting Support.

Introduction

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.

Simple bindable 2-way SQL

SELECT * FROM names
  WHERE id = /*[# mb:p="id"]*/ 1 /*[/]*/

Dynamic bindable 2-way SQL

SELECT * FROM names
  WHERE 1 = 1
  /*[# th:if="${not #lists.isEmpty(ids)}"]*/
    AND id IN (
      /*[# mb:p="ids"]*/ 1 /*[/]*/
    )
  /*[/]*/
  ORDER BY id

Dynamic bindable SQL(non 2-way)

SELECT * FROM names
  WHERE 1 = 1
  [# th:if="${not #lists.isEmpty(ids)}"]
    AND id IN (
      [# mb:p="ids" /]
    )
  [/]
  ORDER BY id

Requirements

  • 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)

Documentation

Related Resources

Contact us

Question

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 the mailing list or the Stack Overflow.

Report and Request

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 the issue tracker.

IMPORTANT:

When you found a security vulnerability, at first please report it to the mybatis organization members instead of issue tracker.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].