|
Spring Data Commmons | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Retention(value=RUNTIME) @Target(value=FIELD) public @interface RelatedEntity
Annotation indicating that a field may be stored in a foreign store and specifying the necessary guarantees. Conceptual rather than implementation-specific.
ForeignStoreKeyManager
Optional Element Summary | |
---|---|
boolean |
afterCommit
|
boolean |
asynchStore
Is asynchronous store OK? |
String |
keyExpression
Optional information as to how to compute or locate the key value. |
PersistencePolicy |
policy
Policies for persistence |
String |
preferredStore
Name for the preferred data store. |
boolean |
sameKey
Should we use the key of the present entity |
String |
storeCompletionListenerBeanName
|
Class<? extends AsynchStoreCompletionListener> |
storeCompletionListenerClass
Completion listener class. |
public abstract String keyExpression
public abstract boolean sameKey
public abstract PersistencePolicy policy
public abstract String preferredStore
public abstract boolean asynchStore
public abstract boolean afterCommit
public abstract Class<? extends AsynchStoreCompletionListener> storeCompletionListenerClass
public abstract String storeCompletionListenerBeanName
|
Spring Data Commmons | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |