try {
result = invocation.invoke();
if(PersistenceGuiceContext.getInstance().isUseJPA()){
EntityManagerFactoryHolder emfH = GuiceContext.getInstance().getBean(EntityManagerFactoryHolder.class);
EntityManagerInfo entityManager = emfH.getEntityManagerInfo();
jpaTS = entityManager.getEntityManager().getTransaction();
need2ProcessTransaction = entityManager.isNeed2ProcessTransaction();
}else if(PersistenceGuiceContext.getInstance().isUseHibernate()){
SessionFactoryHolder sessionFH = GuiceContext.getInstance().getBean(SessionFactoryHolder.class);
SessionInfo session = sessionFH.getSessionInfo();