Class ExceptionOrphanedKeyAction

    • Constructor Detail

      • ExceptionOrphanedKeyAction

        public ExceptionOrphanedKeyAction()
    • Method Detail

      • orphan

        public java.lang.Object orphan​(java.lang.Object oid,
                                       OpenJPAStateManager sm,
                                       ValueMetaData vmd)
        Description copied from interface: OrphanedKeyAction
        Callback received when OpenJPA discovers an orphaned key.
        Specified by:
        orphan in interface OrphanedKeyAction
        Parameters:
        oid - the orphaned key
        sm - the instance representing the record in which the key was discovered; may be null
        vmd - the value in which the key was discovered
        Returns:
        the value to load into field fmd; typically null