Class AbstractHibernateAttachmentDao.IntraHibernateAttachmentMigrator

All Implemented Interfaces:
AttachmentDao.AttachmentCopier, AttachmentDao.AttachmentMigrator
Enclosing class:
AbstractHibernateAttachmentDao

@Deprecated(forRemoval=true, since="8.8") public class AbstractHibernateAttachmentDao.IntraHibernateAttachmentMigrator extends AbstractHibernateAttachmentDao.IntraHibernateAttachmentCopier implements AttachmentDao.AttachmentMigrator
Deprecated, for removal: This API element is subject to removal in a future version.
since 8.8, no replacement
This attachment migrator will migrate attachment streams from the current instance of AbstractHibernateAttachmentDao to another.

Since the store for the metadata is the same (the database), we can safely shift the data from the different AttachmentDataDao implementations without having to update the metadata itself.

  • Constructor Details

    • IntraHibernateAttachmentMigrator

      protected IntraHibernateAttachmentMigrator(AbstractHibernateAttachmentDao destinationDao)
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details