users@jaxb.java.net

Re: how i can serialize a ResultSet into XML ?

From: Kohsuke Kawaguchi <Kohsuke.Kawaguchi_at_Sun.COM>
Date: Wed, 26 Apr 2006 15:50:06 -0700

Legolas Woodland wrote:
> Hi
> Thank you for reading my post.
> I want to serialize a Java Object like a ResultSet into XML ,
> I read some papers that shows how to convert XML+Xml schema to java
> object but i did not find out , how i can convert a java object to XML
>
> can some one give me steps to convert a ResultSet into XML ?

I started collecting my answers to questions into a comprehensive
document, and yours is the first one :-)

See "3.1.1 ResultSet" in https://jaxb.dev.java.net/guide/3.1.html

-- 
Kohsuke Kawaguchi
Sun Microsystems                   kohsuke.kawaguchi_at_sun.com