I have a composite DTO that Struts is giving me. The DTO's do not have PK's
set yet. Then in the Entity create method, I create a GUID from the
EntityUtil. Then I am attempting to create Entities for everything in 1
method call. I can't seem to get it to work without getting FK not found
constraints.

1. When am I suppose to create the PK's for a DTO I create?
2. Do I need to explode the composite DTO in order to create Entities? Or
can I just create my main DTO's Entity, and XDoclet will provide services
for saving everything inside the composite DTO?


---
> Thanks...
> Mick Knutson
> 
> 525 Market Street, SF, CA  94103
> (415) 222-1020
> [EMAIL PROTECTED]
> MAC A0103-223
---




-------------------------------------------------------
This SF.Net email is sponsored by: GNOME Foundation
Hackers Unite!  GUADEC: The world's #1 Open Source Desktop Event.
GNOME Users and Developers European Conference, 28-30th June in Norway
http://2004/guadec.org
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to