File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes XML and Related Technologies and the fly likes JDBC -con.string  from xml Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "JDBC -con.string  from xml" Watch "JDBC -con.string  from xml" New topic

JDBC -con.string from xml

Venkata Kiran
Ranch Hand

Joined: Sep 06, 2005
Posts: 30
Hai All,
I am new to programming and would like to know how to read a JDBC connection string from an XML file.
Thank u in advance.
JuanP barbancho
Ranch Hand

Joined: Oct 25, 2005
Posts: 52

I use a SAXParser or DOM.

Thanks you
Jeanne Boyarsky
author & internet detective

Joined: May 26, 2003
Posts: 33130

This question sounds like it is more about reading from an XML file than JDBC. I'll move it to our XML forum for you.

[OCA 8 book] [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
I agree. Here's the link:
subject: JDBC -con.string from xml
It's not a secret anymore!