Interface PKMapper


  • public interface PKMapper
    Provides method for mapping a specific old PK to a specific new PK. Called by MigrationUtils at conversion of old-style PK's to new style PK's: With that you can define an explicit mapping for a specific PK. Needed for case of not uniqueness at mapping.
    Since:
    4.0.1
    • Method Detail

      • mapPK

        PK mapPK​(OldPK oldPK)
        Maps given old PK to a new PK.
        Parameters:
        oldPK - old PK to map
        Returns:
        mapped new PK