ADO.NET Dataset equivalent using Java?

R

Ron Pagliuca

Is there a ADO.NET dataset equivalent in Java? I am looking for
something to call several resultsets load them into an object,
programmatically define relationships and output as XML using an XML
Schema and JDBC.

I am relatively new to Java and working with accessing databases in
it. However I am very familiar with .NET framework. I am interested
in finding out if there is a "SIMILAR" construct of the .NET DATASET
in Java specifically that would allow me to hand design an XML
Schema(xsd with complex types/enumeration) apply it to a dataset(which
will create tables in the dataset and automatically define
relationships within the dataset between those tables), make a
connection to a DB/apply a datasource(s)/bind and output the resultant
to an XML stream(the XML would be a well formed XSD validated
document). This is easily done in .NET programmatically. Can you
point me in the direction of how this would be accomplished in JAVA
programatically? A Book, a website or technology names would be
greatly appreciated, or an example as well. I looked at Castor - Zeus
/ Xerces, nothing is jumping out at me that handles the above.

Thank You
Ron Pagliuca
 
M

Malte Finsterwalder

Is there a ADO.NET dataset equivalent in Java? I am looking for
something to call several resultsets load them into an object,
programmatically define relationships and output as XML using an XML
Schema and JDBC.

I am relatively new to Java and working with accessing databases in
it. However I am very familiar with .NET framework. I am interested
in finding out if there is a "SIMILAR" construct of the .NET DATASET
in Java specifically that would allow me to hand design an XML
Schema(xsd with complex types/enumeration) apply it to a dataset(which
will create tables in the dataset and automatically define
relationships within the dataset between those tables), make a
connection to a DB/apply a datasource(s)/bind and output the resultant
to an XML stream(the XML would be a well formed XSD validated
document). This is easily done in .NET programmatically. Can you
point me in the direction of how this would be accomplished in JAVA
programatically? A Book, a website or technology names would be
greatly appreciated, or an example as well. I looked at Castor - Zeus
/ Xerces, nothing is jumping out at me that handles the above.

I don't know of any equivalent to Datasets in Java.
Since Castor doens't satisfy your needs, the only other thing that
might combine XML and relationale is JDO.
But I'm unsure it will be any help for you.
Quite likely in Java you will solve the same problem differently.

Greetings,
Malte
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,431
Messages
2,571,679
Members
48,796
Latest member
Greg L.

Latest Threads

Top