1. Should I close connection when using SessionFactoryUtils stackoverflow.comIf I want to use SessionFactoryUtils to get Connection directly to execute some SQL statement, and join the same transaction. Like this:
Do I have to close Connection by ... |
2. Using SessionFactoryUtils but session is not closing forum.springsource.orgDec 8th, 2004, 01:13 AM #1 Loumeister View Profile View Forum Posts Private Message Senior Member Join Date Aug 2004 Posts 208 Using SessionFactoryUtils but session is not closing I have ... |
3. SessionFactoryUtils.getSession() before PROPAGATION_REQUIRED forum.springsource.orgSessionFactoryUtils.getSession() before PROPAGATION_REQUIRED "GenerateLetters.java:42" calls SessionFactoryUtils.getSession(), before the adviced method "ProfileBuilderLogicSupport.java:542" is called. Problem: SessionFactoryUtils looks up the Session with SessionHolder.DEFAULT_KEY, though the Session is stored with the current transaction as ... |
4. SessionFactoryUtils change forum.springsource.orgSessionFactoryUtils change Just being curious. Why the change from Code: if (!allowCreate) { throw new IllegalStateException("No Hibernate session bound to thread, " + "and configuration does not allow creation of new ... |
5. Unclosed connection when using SessionFactoryUtils forum.springsource.orgUnclosed connection when using SessionFactoryUtils Using: Hibernate 2.1.8, JBoss 4.0.2 and Spring 1.2.4 I have a SLSB that has transaction attribute Required. This SLSB makes a call to another SLSB that ... |
6. ERROR [SessionFactoryUtils] Could not close Hibernate Session forum.springsource.orgFeb 16th, 2006, 09:51 AM #1 malmit View Profile View Forum Posts Private Message Junior Member Join Date Sep 2005 Posts 15 Problem closing hibernate session in SessionFactoryUtils I tried implementing ... |
7. SessionFactoryUtils JtaSessionSynchronization.beforeCompletion swallowing exception forum.springsource.orgSessionFactoryUtils JtaSessionSynchronization.beforeCompletion swallowing exception We are using Spring 1.2.5 with Weblogic 8.1.4 along with Hibernate 3.1.3 and container managed transactions. When an exception is thrown within the JtaSessionSynchronization.beforeCompletion method, the exception ... |
8. SessionFactoryUtils.getDataSource() forum.springsource.orgIs there a reason why SessionFactoryUtils.getDataSource() checks whether the sessionFactory is a LocalDataSourceConnectionProvider, but does not check whether it is a org.hibernate.connection.DatasourceConnectionProvi der? Is it because the latter wouldn't have registered ... |
9. NullPointerException in SessionFactoryUtils.doClose forum.springsource.orgNullPointerException in SessionFactoryUtils.doClose Hi First off, I would like to express gratitude for such a great framework. It sure makes my life much easier. I am using Spring's Transaction and hibernate ... |