Hi,
I've got another Problem. I want to update my products in the Database
like follows:
// unmarshall a list of products from xml
...
// iterate them
while (itor.hasNext()) {
xmlProduct = (Product)itor.next();
db.begin();
db.update(xmlProduct);
db.commit();
}
Why does castor abort with
java.lang.IllegalArgumentException: A master object that involves in a
long transaction must be a TimeStampable!
I either have any dependent objects nor a long transaction. Wrong?
Product has got Collections of other Objects, but these are not declared
dependent in the mapping file.
Thanks for reply again,
Thomas
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev