From cdc4e12efce8215c1598a084d877a85bfc3cad1e Mon Sep 17 00:00:00 2001
From: Purodha <bli00@hostsharing.net>
Date: Sat, 05 Jan 2013 17:47:48 +0100
Subject: [PATCH] moduleprops testing, add test for several referredPros using one source field.

---
 hsarback/src/de/hsadmin/mods/cust/Customer.java |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/hsarback/src/de/hsadmin/mods/cust/Customer.java b/hsarback/src/de/hsadmin/mods/cust/Customer.java
index a3151a4..4fa1153 100644
--- a/hsarback/src/de/hsadmin/mods/cust/Customer.java
+++ b/hsarback/src/de/hsadmin/mods/cust/Customer.java
@@ -84,7 +84,9 @@
 	//@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")

--
Gitblit v1.9.0-SNAPSHOT