JDBC/XML data insertion summary
Summary
Although XML files are great for storing small amounts of data, eventually you will want to use XML with a database. This tutorial has discussed the basics of connecting to a database via JDBC, as well as inserting data and creating database transactions.
Data was entered into the database based on an external XML mapping file that determined the database, tables, column names, and element and attribute names in the XML file holding the data to be inserted into the database.
The tutorial also discussed updatable ResultSets, which let you directly alter the data programmatically, based on the predetermined mappings.
8 of 10 |
Previous |
Next
Comments
Back to top
Help: Update or add to My dW interests
What's this?
This little timesaver lets you update your My developerWorks profile with just one click! The general subject of this content (AIX and UNIX, Information Management, Lotus, Rational, Tivoli, WebSphere, Java, Linux, Open source, SOA and Web services, Web development, or XML) will be added to the interests section of your profile, if it's not there already. You only need to be logged in to My developerWorks.
And what's the point of adding your interests to your profile? That's how you find other users with the same interests as yours, and see what they're reading and contributing to the community. Your interests also help us recommend relevant developerWorks content to you.
View your My developerWorks profile
Return from help
static.content.url=http://www.ibm.com/developerworks/js/artrating/
SITE_ID=1
Zone=XML
ArticleID=138240
TutorialTitle=Using JDBC to insert data from XML into a database
publish-date=10032001
author1-email=nicholas@nicholaschase.com
author1-email-cc=