Re: [castor-dev] need help "is not created in this context"

2004-03-16 Thread Werner Guttmann
Bernd, can I please see the complete stack trace ? Iow, does it happen on the db.update(order) or db.update(customer) ? In addition, I am asking myself whether what you describe is a valid use of Castor anyhow ? For 1:M relationships to work, to my knowledge, you need to be able to traverse th

[castor-dev] need help "is not created in this context"

2004-03-16 Thread Bernd Laengerich
Hi, I am not sure wether my construct can be done with castor jdo, so let me explain: Lets say we have a customer table and an order table. Every order has one customer associated, so we have a one-to-many mapping. This works fine. For some reason I want to have a field (column) in customer t

Re: [castor-dev] Un/Marshal:supersuperclass is ArrayList

2004-03-16 Thread marathonkati
Hi, I got one step further. I'm having a little bit more information in my xml-file now but still not all individual elements of my ArrayList are saved and the attributes of the element are not saved, too. The xml-file looks now so. - http://www.w3.org/2001/XMLSchema-instance"; /> ^ Entit

Re: [castor-dev] NullPointerException after switching from 0.9.3.21 to 0.9.5.3

2004-03-16 Thread Milovankic Dragan
It seems that I resolved problem in my case: After putting few logging lines in castor source I found that something is wrong with mapping. There was "extends" declaration in mapping file without mapping for extended class being provided. 0.9.3.21 was tollerable to this mistake. After removing "e

Re: [castor-dev] not all attributes of object are marshalled

2004-03-16 Thread marathonkati
Hi Keith, It worked. I get all attributes now. But the field "ObjectkindName" is not ignored. What can I do about that? Actually, I don't even have declared this attribute (field) in my javacode. It is just a public String getObjectkindName()-method. Katja > > Hi Katja, > > You mapping for the

Re: [castor-dev] primitive type hasXXX() method return true always

2004-03-16 Thread Leeuw van der, Tim
Hi, Instead of blanking out the value, remove it. (I wish that an empty, blank, value would be signalled as missing but it doesn't. You have to remove the tag. Also, if you remove the tag but there's a default value in your XSD... hasXXX() still returns false whereas it should return true :-(