Hi there.
I'm trying to map some objects for persistency, but Castor does not behave
as I expect it to. Perhaps someone can tell me what goes wrong?
>From a schema I generate some classes. Basically the xml document looks like
this:
<product>
...
<prices>
<price>...</price>
<price>...</price>
...
</prices>
</product>
I get the classes Product, Prices and Price, where Prices just represents an
object with an ArrayList.
Now if I try to map this to tables with Castor, I expect to use two tables,
namely product and price.
Whatever I specify inside mapping.xml, Castor does not care for the prices
object at all, thus not storing any price information.
How should a mapping for this structure look like?
Hiran
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev