org.apache.openjpa.persistence
Annotation Type PersistentMap
@Target(value={METHOD,FIELD})
@Retention(value=RUNTIME)
public @interface PersistentMap
Metadata annotation for a persistent map field.
- Since:
- 0.4.0
- Author:
- Abe White
keyType
public abstract Class keyType
- Default:
- void.class
elementType
public abstract Class elementType
- Default:
- void.class
keyCascade
public abstract CascadeType[] keyCascade
- Default:
- {}
elementCascade
public abstract CascadeType[] elementCascade
- Default:
- {}
keyEmbedded
public abstract boolean keyEmbedded
- Default:
- false
elementEmbedded
public abstract boolean elementEmbedded
- Default:
- false
fetch
public abstract FetchType fetch
- Default:
- javax.persistence.FetchType.LAZY
Copyright © 2006-2011 Apache Software Foundation. All Rights Reserved.