Class SpringHibernateThreadLocalUtil
Object
com.liferay.portal.spring.hibernate.SpringHibernateThreadLocalUtil
- Author:
- Shuyang Zhou
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <T> T
getResource
(Object key, Map<Object, Object> resources) getResources
(boolean createIfAbsent) static boolean
static <T> T
-
Constructor Details
-
SpringHibernateThreadLocalUtil
public SpringHibernateThreadLocalUtil()
-
-
Method Details
-
getResource
-
getResources
-
isCurrentTransactionReadOnly
public static boolean isCurrentTransactionReadOnly() -
setResource
-