Kumar, Vaidhyanatha K. wrote:

Are there example that write out xml files after doing a query?

Vaidhy,

Yes, there is an example in the JDO examples (located in src/examples/jdo and src/examples/myapp) in the source download and CVS. Please see the following doc for more information on running the examples:

    http://www.castor.org/examples.html

The steps are:

    1) select objects from database
    2) call Marshaller.marshal( obj )

You may need a mapping descriptor if you need to influence the format of the XML.

HTH

Bruce
--
perl -e 'print unpack("u30","<0G)[EMAIL PROTECTED]&5R\\"F9E<G)E=\\$\\!F<FEI+F-O;0\\`\\`");'


The Castor Project
http://www.castor.org/

Apache Geronimo
http://incubator.apache.org/projects/geronimo.html



----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-user

Reply via email to