aspose file tools*
The moose likes Object Relational Mapping and the fly likes Hibernate Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "Hibernate " Watch "Hibernate " New topic
Author

Hibernate

seenu jawaji
Greenhorn

Joined: Nov 13, 2013
Posts: 1
Hi, We are facing the below issue in our application, Please help to resolve the issue

org.hibernate.ResourceClosedException: This TransactionCoordinator has been closed
org.hibernate.engine.transaction.internal.TransactionCoordinatorImpl.getTransaction(TransactionCoordinatorImpl.java:186)


org.hibernate.engine.transaction.internal.TransactionCoordinatorImpl.isTransactionInProgress(TransactionCoordinatorImpl.java:162)
org.hibernate.internal.SessionImpl.afterOperation(SessionImpl.java:598)
org.hibernate.internal.SessionImpl.list(SessionImpl.java:1273)
org.hibernate.internal.QueryImpl.list(QueryImpl.java:101)
org.hibernate.internal.AbstractQueryImpl.uniqueResult(AbstractQueryImpl.java:905)

We used Spring & Hibernate 4.0.

We used @Transcational in service layer & Used sessionFactory.getCurrentSession() for session management.

Spring default Transaction Propogation Level

We used JBOSS Data source explicitly
<bean id="dataSource" class="org.springframework.jndi.JndiObjectFactoryBean">
<property name="jndiName">Databas</property>
</bean>



Thanks in Advance,
Sreeni.
 
jQuery in Action, 2nd edition
 
subject: Hibernate