org.apache.openjpa.event
public class ExceptionOrphanedKeyAction extends java.lang.Object implements OrphanedKeyAction
ObjectNotFoundException
when an orphaned key is discovered.Constructor and Description |
---|
ExceptionOrphanedKeyAction() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
orphan(java.lang.Object oid,
OpenJPAStateManager sm,
ValueMetaData vmd)
Callback received when OpenJPA discovers an orphaned key.
|
public java.lang.Object orphan(java.lang.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