By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,553 Members | 1,128 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,553 IT Pros & Developers. It's quick & easy.

is the relative postion of an element in a collection fixed?

P: n/a
I get a resutSet from one database as xml and want to insert these
data to another database,and I want to form sql statement from the
xml, and then using these sql statement to insert these data.
First using jdom to get the rowdata from the xml as a
collection,then catenate the element in the colletion on by ont.but
does the postion of these element unchange?
suppose the xml is
<row>
<name/>
<address/>
</row>
then the sql statement is
"insert into tablename (name,adrress) values(..)"
if the operating position of element in a collection
undetermining,then will result a bug.
Jul 17 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.