# mybatis-beetl-scripting **Repository Path**: easybest/mybatis-beetl-scripting ## Basic Information - **Project Name**: mybatis-beetl-scripting - **Description**: mybatis-beetl is an extension that allows you to use the Beetl scripting language to generate your dynamic SQL queries on the fly. - **Primary Language**: Java - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 9 - **Forks**: 1 - **Created**: 2016-12-21 - **Last Updated**: 2025-07-24 ## Categories & Tags **Categories**: database-dev **Tags**: None ## README # MyBatis Beetl Support [![Build Status](https://travis-ci.org/hatunet/mybatis-beetl-scripting.svg?branch=master)](https://travis-ci.org/hatunet/mybatis-beetl-scripting) ![mybatis-velocity](http://mybatis.github.io/images/mybatis-logo.png) ## Introduction mybatis-beetl is an extension that allows you to use the Beetl scripting language to generate your dynamic SQL queries on the fly. If you are not familiar with beetl, you can learn it from its documentation site: [Beetl Reference](http://ibeetl.com/guide/#beetl) ## Install 1. Put the mybatis-beetl-scripting-.jar in your classpath. If you are using maven, just add a dependency to: ```xml com.ifrabbit mybatis-beetl-scripting 1.0.3.RELEASE ``` 2. Register the language driver alias in your mybatis configuration file: ```xml ... ... ``` 3. Optional: Set the beetl as your default scripting language: ```xml ... ... ``` ## Usage Just write your dynamic queries and use beetl: Example: ```xml ``` ## Contributing to MyBatis Beetl Scripting Here are some ways for you to get involved in the community: * Github is for social coding: if you want to write code, we encourage contributions through pull requests from [forks of this repository](http://help.github.com/forking/). ## Help me better - Donation [![paypal](https://www.paypal.com/en_US/i/btn/x-click-butcc-donate.gif)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=W7PLNCBK5K8JS)