Here's what I've done.
I use Castor to convert the objects in my object model to XML, and vice-versa. To handle the foreign-key issue, after converting an XML document to objects, I manipulate the objects in Java. To make working with Castor and Torque easier, I created a simple utility to convert a Torque schema.xml file to a Castor mapping.xml file.
Am I over-engineering this?
Please, tell me what you think.
Eric
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
