Class ThrongProxySession
java.lang.Object
org.smallmind.persistence.orm.ProxySession<ThrongClientFactory,ThrongClient>
org.smallmind.persistence.orm.throng.ThrongProxySession
-
Constructor Summary
ConstructorsConstructorDescriptionThrongProxySession(String dataSourceType, String sessionSourceKey, ThrongClientFactory throngClientFactory, boolean boundaryEnforced, boolean cacheEnabled) -
Method Summary
Methods inherited from class org.smallmind.persistence.orm.ProxySession
getDataSourceType, getSessionSourceKey, isBoundaryEnforced, isCacheEnabled, overrideBoundaryEnforced, overrideCacheEnabled, register
-
Constructor Details
-
ThrongProxySession
public ThrongProxySession(String dataSourceType, String sessionSourceKey, ThrongClientFactory throngClientFactory, boolean boundaryEnforced, boolean cacheEnabled)
-
-
Method Details
-
currentTransaction
- Specified by:
currentTransactionin classProxySession<ThrongClientFactory,ThrongClient>
-
beginTransaction
- Specified by:
beginTransactionin classProxySession<ThrongClientFactory,ThrongClient>
-
flush
public void flush()- Specified by:
flushin classProxySession<ThrongClientFactory,ThrongClient>
-
clear
public void clear()- Specified by:
clearin classProxySession<ThrongClientFactory,ThrongClient>
-
close
public void close()- Specified by:
closein classProxySession<ThrongClientFactory,ThrongClient>
-
isClosed
public boolean isClosed()- Specified by:
isClosedin classProxySession<ThrongClientFactory,ThrongClient>
-
getNativeSessionFactory
- Specified by:
getNativeSessionFactoryin classProxySession<ThrongClientFactory,ThrongClient>
-
getNativeSession
- Specified by:
getNativeSessionin classProxySession<ThrongClientFactory,ThrongClient>
-