moduleprops testing, add test for several referredPros using one source field.

This commit is contained in:
Purodha 2013-01-05 16:47:48 +00:00
parent 9b3192c230
commit cdc4e12efc

View File

@ -84,7 +84,9 @@ public class Customer extends AbstractEntity implements Serializable {
//@AnnFieldIO(referredProps = "customer")//gut
//@AnnFieldIO(referredProps = "customer.CustomersTariff.domainDiscountUntil")//Das ist Kappes!
//@AnnFieldIO(referredProps = "customer.billData.domainDiscountUntil.year")//falsch!
@AnnFieldIO(referredProps = "customer.billData.domainDiscountUntil.cdate")//gut
//@AnnFieldIO(referredProps = "customer.billData.domainDiscountUntil.cdate")//gut
//@AnnFieldIO(referredProps = {"customer.billData.domainDiscountUntil.cdate", "customer.billData."})//schlecht!
@AnnFieldIO(referredProps = {"customer.billData.domainDiscountUntil.cdate", "customer.billData"})//gut
private BankAccount bankAccount;
@OneToOne(fetch = EAGER, cascade = ALL, mappedBy = "customer")