Hi, sorry for my terminology, I'm new to castor/JDO stuff. I have a problem
which is driving me crazy... can anyone help ?
Starting from a "movie.xsd" file I had Source Generator build some classes
for me, using the -type=j2 switch. Compiled the sources ad obtain a set of
classes among which I have a "Movie" class which contains an array of
"Actors".
Feeding a movie.xml file contaning (also)... ------
<movie id="5">
<title>My Movie</title>
<actor id="3">
<name>Raoul Bova</name>
</actor>
<actor id="4">
<name>Robert De Niro</name>
</actor>
</movie>
------
...I unmarshalled some wonderful objects which I was able to make
persistent via JDO to a JDBC database using a mapping.xml. Everything
worked fine and pretty, the objects could be marshalled/unmarshalled/stored
to and from XML and the DB. Good.
Well, when I try to delete a "master" object though (the Movie) using
db.remove(movie), I suddenly get a java.lang.UnsupportedOperationException
generated at
org.exolab.castor.persist.ClassMolder$1$ArrayIterator.remove(ClassMolder.java:2959)
- [castor-dev] Probem when removing persistent object ... Pierfrancesco Marsiaj
- [castor-dev] Probem when removing persistent ob... Pierfrancesco Marsiaj
- Re: [castor-dev] Probem when removing persi... Niko Efthymiou
- Re: [castor-dev] Probem when removing p... Stein M. Eliassen
- Re: [castor-dev] Probem when removi... Pierfrancesco Marsiaj
- Re: [castor-dev] Probem when removi... Niko Efthymiou
- Re: [castor-dev] Probem when removing p... Pierfrancesco Marsiaj
