File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Hibernate
 
Similar Threads
Could not parse mapping document from resource PojoTestTable.hbm.xml
spring + hibernate
how to tell MultiActionController Command Object is Of type com.dss.ems.model.User
/hibernate.cfg.xml not found issue
Hibernate cannot open connection