}
catch (SQLException se)
{
log.error(se.toString());
throw new PersistenceException("Unable to delete field '" + fieldName + "' in table '"
+ pmd.getTableName() + "'");
}
finally
{
if (stmt != null)
{
try
{
stmt.close();
}
catch (SQLException se)
{
throw new PersistenceException(se);
}
}
if (pstmt != null)
{
try
{
pstmt.close();
}
catch (SQLException se)
{
throw new PersistenceException(se);
}
}
if (myConnection != null)
{
try
{
myConnection.close();
}
catch (SQLException se)
{
throw new PersistenceException(se);
}
}
}
}
catch (SQLException se)
{
}
finally
{
if (stmt != null)
{
try
{
stmt.close();
}
catch (SQLException se)
{
}
}
if (myConnection != null)
{
try
{
myConnection.close();
}
catch (SQLException se)
{
throw new PersistenceException(se);
}
}
}
}