[EMAIL PROTECTED] wrote:
Ok, when I save a CreditApplication with a BusinessCard (i.e. Product), the
relationship works fine, and the DB is saved correctly. The issue is getting
the data back out of the db in a relationship.
We have 4 products. Each with a productId, applicationId and productType. So
when we get the Products back out of the db, and there is only 1 product
saved (not 4), we actually get a BusinessCard returned for each product. It
is actually the same BusinessCard (productId) for each Product. So it seems
that the query is not looking for a compound PK (productId & productType)
which is the query needed to distinguish between each product.


You may want to draw a diagram or something, because I've read this paragraph about 10 times and I can't get the terminology straight.

"BusinessCard (i.e. Product)"
"We have 4 products."
"... and there is only 1 product saved..."

I'm having problems understanding your data model, and I'd imagine that others may too...


------------------------------------------------------- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php _______________________________________________ xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to