|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.pmease.quickbuild.persistence.SessionInterceptor
public class SessionInterceptor
We've removed transactional demarcation for read only methods since the non-transactional access is much more faster than transactional access.
Constructor Summary | |
---|---|
SessionInterceptor()
|
Method Summary | |
---|---|
static org.hibernate.Session |
getSession()
|
java.lang.Object |
invoke(org.aopalliance.intercept.MethodInvocation mi)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SessionInterceptor()
Method Detail |
---|
public java.lang.Object invoke(org.aopalliance.intercept.MethodInvocation mi) throws java.lang.Throwable
invoke
in interface org.aopalliance.intercept.MethodInterceptor
java.lang.Throwable
public static org.hibernate.Session getSession()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |