Package org.apache.openjpa.event
Class ExceptionOrphanedKeyAction
java.lang.Object
org.apache.openjpa.event.ExceptionOrphanedKeyAction
- All Implemented Interfaces:
- OrphanedKeyAction
Throw a 
ObjectNotFoundException when an orphaned key is discovered.- Since:
- 0.3.2.2
- Author:
- Abe White
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionorphan(Object oid, OpenJPAStateManager sm, ValueMetaData vmd) Callback received when OpenJPA discovers an orphaned key.
- 
Constructor Details- 
ExceptionOrphanedKeyActionpublic ExceptionOrphanedKeyAction()
 
- 
- 
Method Details- 
orphanDescription copied from interface:OrphanedKeyActionCallback received when OpenJPA discovers an orphaned key.- Specified by:
- orphanin 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; typicallynull
 
 
-