vpachpute1
9 years agoFrequent Contributor
To pass DB connections details from xml file.
Hi
I have to pass DB connection details from xml file. Following is my xml file.
<?xml version="1.0" encoding="UTF-8"?>
<config>
<properties>
<property name="DBDriver" value="oracle.jdbc.driver.OracleDriver"/>
<property name="ConnectionString" value="jdbc:oracle:thin:ercore/ercore@localhost:1521:XE"/>
</properties>
</config>
Can you please suggest the way to do so.
Actually I want to call DBDriver and Connection String from xml file.