if (conn != null && !conn.isClosed() && !conn.getAutoCommit())
{
// Make sure any remaining statements are executed and commit the connection
((RDBMSStoreManager)storeMgr).getSQLController().processConnectionStatement(this);
this.needsCommitting = false;
conn.commit();
if (NucleusLogger.CONNECTION.isDebugEnabled())
{
NucleusLogger.CONNECTION.debug(LOCALISER_RDBMS.msg("052005", conn.toString()));
}
}