Class V7_0_2020_10_31__CollectionCommunity_Metadata_Handle
java.lang.Object
org.flywaydb.core.api.migration.BaseJavaMigration
org.dspace.storage.rdbms.migration.V7_0_2020_10_31__CollectionCommunity_Metadata_Handle
- All Implemented Interfaces:
org.flywaydb.core.api.migration.JavaMigration
public class V7_0_2020_10_31__CollectionCommunity_Metadata_Handle
extends org.flywaydb.core.api.migration.BaseJavaMigration
Insert a 'dc.identifier.uri' metadata record for each Community and Collection in the database.
The value is calculated concatenating the canonicalPrefix extracted from the configuration
(default is "http://hdl.handle.net/) and the object's handle suffix stored inside the handle table.
- Author:
- Alessandro Martelli (alessandro.martelli at 4science.it)
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.flywaydb.core.api.migration.BaseJavaMigration
canExecuteInTransaction, extractVersionAndDescription, getDescription, getVersion, initMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.flywaydb.core.api.migration.JavaMigration
getResolvedMigration, getType
-
Field Details
-
migration_file_size
-
-
Constructor Details
-
V7_0_2020_10_31__CollectionCommunity_Metadata_Handle
public V7_0_2020_10_31__CollectionCommunity_Metadata_Handle()
-
-
Method Details
-
migrate
- Throws:
Exception
-
getChecksum
- Specified by:
getChecksumin interfaceorg.flywaydb.core.api.migration.JavaMigration- Overrides:
getChecksumin classorg.flywaydb.core.api.migration.BaseJavaMigration
-