Dynamic SQL definition, an xml node with root <xsql>
Dynamic SQL definition, an xml node with root <xsql>
As simple as an static SQL:
def xsql = "SELECT * FROM mytable WHERE id = #{{id}}"
Or using dynamic tags:
def xsql = <xsql> SELECT * FROM mytable <where> <if test="name != null"> name like #{{name}} </if> </where> <xsql>
Exceutes the SQL UPDATE Statement
Exceutes the SQL UPDATE Statement
Input paramenter of the statement
Implicit Session
number of affected rows
Vendor ID
Vendor ID
Setting this to true will cause the cache to be flushed whenever this statement is called.
Setting this to true will cause the cache to be flushed whenever this statement is called. Default: false for select statements.
Fully qualified identifier of the statement.
Fully qualified identifier of the statement. Autogenerated by the configuration space.
Scripting driver
Scripting driver
Returns the Class of the input parameter.
Any one of STATEMENT, PREPARED or CALLABLE.
Any one of STATEMENT, PREPARED or CALLABLE. This causes MyBatis to use Statement, PreparedStatement or CallableStatement respectively. Default: PREPARED.
This sets the maximum time the driver will wait for the database to return from a request, before throwing an exception.
This sets the maximum time the driver will wait for the database to return from a request, before throwing an exception. Default is unset (driver dependent).
A mapped SQL UPDATE statement. Basically this defines a function: (Param => Int)
Input parameter type of the apply method.
$Revision$