Now when customers use BasicDataSource, they want to change the URL connection string to a domain name. Is there a way to support this?
<bean id="dataSource" class="org.apache.commons.dbcp.BasicDataSource" destroy-method="close">
<property name="driverClassName">
<value>oracle.jdbc.driver.OracleDriver</value>
</property><property name="url">
<value>jdbc:oracle:thin:@ip:port:orcl</value>
</property>
</bean>
Like this