|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||
@Target(value={FIELD,METHOD})
@Retention(value=RUNTIME)
public @interface EmbeddedColumnsSpecify property name to db column mapping for Embedded beans.
This is designed to be easier to use than the AttributeOverride annotation in standard JPA.
| Optional Element Summary | |
|---|---|
String |
columns
A list of property names mapped to DB columns. |
public abstract String columns
For example currency=IN_CURR, amount=IN_AMOUNT
Where currency and amount are properties and IN_CURR and IN_AMOUNT are the respective DB columns these properties will be mapped to.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||