We need to ensure that the checking and writing of the tag is atomic so as to prevent two or more nodes from writing the tag and reporting that it was set correctly
Transactional version of the AbstractHibernateAttachmentDao, which removes the Attachment data
as the Attachment itself is being removed, since it can be rolled back by the transaction