|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
SqlSessionFactory
instance.
SqlSession
passed as an argument is managed by Spring TransactionSynchronizationManager
If it is not, it closes it, otherwise it just updates the reference counter and
lets Spring call the close callback when the managed transaction ends
SqlSession
from the SqlSessionFactory
provided as a parameter and using its DataSource
and ExecutorType
DataSourceUtils
to get a
Spring managed Connection
, then creates a new SqlSession
with this connection and synchronizes it with the transaction.
SqlSession
passed as an argument is being managed by Spring
MapperFactoryBean
.DataAccessExceptionTranslator
instance.
UncategorizedDataAccessException
, for MyBatis system errors that do
not match any concrete org.springframework.dao
exceptions.SqlSessionFactory
config file.
<properties>
tag in the configuration xml file.
DataSource
that this instance should manage transactions for.
Environment
you have set in the MyBatis
config file.
SqlSessionFactory
configuration at runtime.
SqlSessionFactoryBuilder
to use when creating the SqlSessionFactory
.
JdbcTransaction
and the
ManagedTransaction
.Transaction
should manage connection or let it to Spring.
SpringManagedTransaction
.FactoryBean
that creates an MyBatis SqlSessionFactory
.SqlSession
in TransactionSynchronizationManager
.SqlSession
that works with Spring
transaction management to ensure that that the actual SqlSession used is the
one associated with the current Spring transaction.SqlSessionFactory
provided as an argument.
SqlSessionFactory
provided as an argument and the given ExecutorType
ExecutorType
cannot be changed once the SqlSessionTemplate
is constructed.
SqlSession
with the given
SqlSessionFactory
and ExecutorType
.
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |