public final class SqlSessionHolder
extends org.springframework.transaction.support.ResourceHolderSupport
| 构造器和说明 |
|---|
SqlSessionHolder(org.apache.ibatis.session.SqlSession sqlSession,
org.apache.ibatis.session.ExecutorType executorType,
org.springframework.dao.support.PersistenceExceptionTranslator exceptionTranslator) |
| 限定符和类型 | 方法和说明 |
|---|---|
org.apache.ibatis.session.ExecutorType |
getExecutorType() |
org.springframework.dao.support.PersistenceExceptionTranslator |
getPersistenceExceptionTranslator() |
org.apache.ibatis.session.SqlSession |
getSqlSession() |
clear, getDeadline, getTimeToLiveInMillis, getTimeToLiveInSeconds, hasTimeout, isOpen, isRollbackOnly, isSynchronizedWithTransaction, isVoid, released, requested, reset, setRollbackOnly, setSynchronizedWithTransaction, setTimeoutInMillis, setTimeoutInSeconds, unboundpublic SqlSessionHolder(org.apache.ibatis.session.SqlSession sqlSession,
org.apache.ibatis.session.ExecutorType executorType,
org.springframework.dao.support.PersistenceExceptionTranslator exceptionTranslator)
public org.apache.ibatis.session.SqlSession getSqlSession()
public org.apache.ibatis.session.ExecutorType getExecutorType()
public org.springframework.dao.support.PersistenceExceptionTranslator getPersistenceExceptionTranslator()
Copyright © 2017. All rights reserved.