Java org.apache.ibatis.session SqlSession fields, constructors, methods, implement or subclass

Example usage for Java org.apache.ibatis.session SqlSession fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.ibatis.session SqlSession.

The text is from its open source code.

Implementation

org.apache.ibatis.session.SqlSession has the following implementations.
Click this link to see all its implementation.

Method

voidclearCache()
Clears local session cache.
voidclose()
Closes the session.
voidcommit()
Flushes batch statements and commits database connection.
voidcommit(boolean force)
Flushes batch statements and commits database connection.
intdelete(String statement, Object parameter)
Execute a delete statement.
intdelete(String statement)
Execute a delete statement.
ListflushStatements()
Flushes batch statements.
ConfigurationgetConfiguration()
Retrieves current configuration.
ConnectiongetConnection()
Retrieves inner database connection.
TgetMapper(Class type)
Retrieves a mapper.
intinsert(String statement, Object parameter)
Execute an insert statement with the given parameter object.
intinsert(String statement)
Execute an insert statement.
voidrollback()
Discards pending batch statements and rolls database connection back.
voidrollback(boolean force)
Discards pending batch statements and rolls database connection back.
voidselect(String statement, ResultHandler handler)
Retrieve a single row mapped from the statement using a ResultHandler .
voidselect(String statement, Object parameter, ResultHandler handler)
Retrieve a single row mapped from the statement key and parameter using a ResultHandler .
ListselectList(String statement)
Retrieve a list of mapped objects from the statement key and parameter.
ListselectList(String statement, Object parameter)
Retrieve a list of mapped objects from the statement key and parameter.
ListselectList(String statement, Object parameter, RowBounds rowBounds)
Retrieve a list of mapped objects from the statement key and parameter, within the specified row bounds.
MapselectMap(String statement, String mapKey)
The selectMap is a special case in that it is designed to convert a list of results into a Map based on one of the properties in the resulting objects.
MapselectMap(String statement, Object parameter, String mapKey)
The selectMap is a special case in that it is designed to convert a list of results into a Map based on one of the properties in the resulting objects.
MapselectMap(String statement, Object parameter, String mapKey, RowBounds rowBounds)
The selectMap is a special case in that it is designed to convert a list of results into a Map based on one of the properties in the resulting objects.
TselectOne(String statement, Object parameter)
Retrieve a single row mapped from the statement key and parameter.
TselectOne(String statement)
Retrieve a single row mapped from the statement key.
intupdate(String statement, Object parameter)
Execute an update statement.
intupdate(String statement)
Execute an update statement.