JBossAS4.2.2
Hibernate-Version: 3.2.4.sp1
I get
Quote:
2009-06-23 10:01:13,513 INFO | Thread-22 | org.hibernate.jdbc.ConnectionManager | forcing batcher resource cleanup on transaction completion; forgot to close ScrollableResults/Iterator?
each time I commit a JTA transaction after an insert. This issue was supposed to be addresses in version 3.2.3 but I still see it. Is this a known issue or is there something else that could be causing it?
An example of code that results in this message:
Code:
Session session = getSessionFactory ().getCurrentSession ();
Transaction tx = session.beginTransaction();
try
{
session.save (filehistory); // new instance to be inserted
tx.commit ();
}
catch (Exception e)
{
logger.error ("Error saving to filehistory <" + filehistory.getFileName () + ">", e);
try
{
tx.rollback ();
}
catch (Exception ee)
{
logger.error ("Error rolling back record.", ee);
}
}
finally
{
logger.debug ("returning from addFileHistory");
}