@Target(value={FIELD,METHOD}) @Retention(value=RUNTIME) public @interface EmbeddedColumns
This is designed to be easier to use than the AttributeOverride annotation in standard JPA.
String
columns
public abstract String columns
For example currency=IN_CURR, amount=IN_AMOUNT
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.
Copyright © 2016. All rights reserved.