e.g. Calendar Search Help
You must enter a value before pressing Search
Search Results OK to copy? Examples 1 through 10 of 303 (0.0030 seconds)
Class: org.springframework.orm.jdo.JdoInterceptor  ©, Rating: 0% of 0, C1

080 boolean existingTransaction = false; 081 PersistenceManager pm = PersistenceManagerFactoryUtils.getPersistenceManager(getPersistenceManagerFactory(), true); 082 if (TransactionSynchronizationManager.hasResource(getPersistenceManagerFactory())) { 083 logger.debug("Found thread-bound PersistenceManager for JDO interceptor"); 084 existingTransaction = true;

Class: org.springframework.orm.jdo.support.OpenPersistenceManagerInViewFilter  ©, Rating: 0% of 0, C1

093 boolean participate = false; 094 095 if (TransactionSynchronizationManager.hasResource(pmf)) { 096 // do not modify the Session: just set the participate flag 097 participate = true;

Class: org.springframework.orm.jdo.JdoInterceptorTests  ©, Rating: 0% of 0, C1

096 097 public Object proceed() throws Throwable { 098 if (!TransactionSynchronizationManager.hasResource(this.persistenceManagerFactory)) { 099 throw new IllegalStateException("PersistenceManager not bound"); 100 }

Class: org.springframework.orm.jdo.support.OpenPersistenceManagerInViewInterceptor  ©, Rating: 0% of 0, C1

092 throws DataAccessException { 093 094 if (TransactionSynchronizationManager.hasResource(getPersistenceManagerFactory())) { 095 // do not modify the PersistenceManager: just mark the request accordingly 096 String participateAttributeName = getParticipateAttributeName();

Class: org.springframework.orm.hibernate.HibernateInterceptor  ©, Rating: 0% of 0, C2

149 Session session = SessionFactoryUtils.getSession( 150 getSessionFactory(), getEntityInterceptor(), getJdbcExceptionTranslator()); 151 if (TransactionSynchronizationManager.hasResource(getSessionFactory())) { 152 logger.debug("Found thread-bound session for Hibernate interceptor"); 153 existingTransaction = true;

Class: org.springframework.orm.jdo.support.OpenPersistenceManagerInViewTests  ©, Rating: 0% of 0, C2

171 filter2.doFilter(request, response, filterChain3); 172 assertFalse(TransactionSynchronizationManager.hasResource(pmf)); 173 assertFalse(TransactionSynchronizationManager.hasResource(pmf2)); 174 assertNotNull(request.getAttribute("invoked")); 175

Class: org.springframework.orm.jdo.support.OpenPersistenceManagerInViewTests  ©, Rating: 0% of 0, C2

170 assertFalse(TransactionSynchronizationManager.hasResource(pmf2)); 171 filter2.doFilter(request, response, filterChain3); 172 assertFalse(TransactionSynchronizationManager.hasResource(pmf)); 173 assertFalse(TransactionSynchronizationManager.hasResource(pmf2)); 174 assertNotNull(request.getAttribute("invoked"));

Class: org.springframework.orm.jdo.support.OpenPersistenceManagerInViewTests  ©, Rating: 0% of 0, C2

168 169 assertFalse(TransactionSynchronizationManager.hasResource(pmf)); 170 assertFalse(TransactionSynchronizationManager.hasResource(pmf2)); 171 filter2.doFilter(request, response, filterChain3); 172 assertFalse(TransactionSynchronizationManager.hasResource(pmf));

Class: org.springframework.orm.jdo.support.OpenPersistenceManagerInViewTests  ©, Rating: 0% of 0, C2

167 }; 168 169 assertFalse(TransactionSynchronizationManager.hasResource(pmf)); 170 assertFalse(TransactionSynchronizationManager.hasResource(pmf2)); 171 filter2.doFilter(request, response, filterChain3);

Class: org.springframework.orm.jdo.support.OpenPersistenceManagerInViewTests  ©, Rating: 0% of 0, C1

095 pmControl.replay(); 096 interceptor.afterCompletion(request, response, "handler", null); 097 assertFalse(TransactionSynchronizationManager.hasResource(pmf)); 098 pmfControl.verify(); 099 pmControl.verify();

Result Page:  1.0  |  2.0  |  3.0  |  4.0  |  5.0  |  6.0  |  7.0  |  8.0  |  9.0  |  10.0   Next