Sorry, I should have attached the file as application/zip, not
The goal of the test-suite is to construct a directory/file-structure for some
target-directory and then it's timing marshalling/unmarshalling of this
structure for both xml and datatabase.
Attached is what I got so far, but I have problem with ToDatabasePerf and mapping.
It works for marshalling/unmarshalling xml, but I have problem with writing the
root-node to database, exception thrown is:
org.exolab.castor.mapping.MappingException: Field element,
"org.castor.perf.AbstractItem" not found!
The mappingfile-location is hardcoded in AbstractPerf.getMapping().
First you must run XMLMarshallingPerf with a target-directory as argument for
creating the the xml-file named out.xml.
Then you can run XMLUnmarshallingPerf to unmarshal the out.xml and this works
ok, but if you try ToDatabasePerf you'll get the exception.
The problem is the AbstractItem-type, is it in relation with
Suggestions for how it can be solved?