else
{
con = this.connectionFactory.lookupConnection(jcd);
}
if (con == null) throw new PersistenceBrokerException("Cannot get connection for " + jcd);
if (jcd.getUseAutoCommit() == JdbcConnectionDescriptor.AUTO_COMMIT_SET_TRUE_AND_TEMPORARY_FALSE)
{
try
{
this.originalAutoCommitState = con.getAutoCommit();
}
catch (SQLException e)
{
throw new PersistenceBrokerException("Cannot request autoCommit state on the connection", e);
}
}
if (log.isDebugEnabled()) log.debug("Request new connection from ConnectionFactory: " + con);
}