code: public void cleanLocks() throws SQLException
     {
        ResultSet resultSet = null;
        PreparedStatement preparedStatement = null;
  
        Connection jdbcConnection = openConnection();
        try
        {
           InspectionQuery query = getDeleteAllQuery();
  
           preparedStatement = jdbcConnection.prepareStatement(query.getStatement());
           preparedStatement.executeUpdate();
        }
        finally
        {
           JDBCUtils.freeResources(resultSet, preparedStatement, jdbcConnection);
        }
  
     }
docs: {@inheritDoc}