public class ExceptionOrphanedKeyAction extends Object implements OrphanedKeyAction
ObjectNotFoundException
when an orphaned key is discovered.Constructor and Description |
---|
ExceptionOrphanedKeyAction() |
Modifier and Type | Method and Description |
---|---|
Object |
orphan(Object oid,
OpenJPAStateManager sm,
ValueMetaData vmd)
Callback received when OpenJPA discovers an orphaned key.
|
public Object orphan(Object oid, OpenJPAStateManager sm, ValueMetaData vmd)
OrphanedKeyAction
orphan
in interface OrphanedKeyAction
oid
- the orphaned keysm
- the instance representing the record in which the
key was discovered; may be nullvmd
- the value in which the key was discoveredfmd
; typically
null
Copyright © 2006–2022 Apache Software Foundation. All rights reserved.