Usage
Configuration Item Explanation
Example
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:shardingsphere="http://shardingsphere.apache.org/schema/shardingsphere/datasource"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd
http://shardingsphere.apache.org/schema/shardingsphere/datasource/datasource.xsd
<shardingsphere:data-source id="ds" database-name="foo_schema" data-source-names="..." rule-refs="...">
<shardingsphere:mode type="..." />
<prop key="xxx.xxx">${xxx.xxx}</prop>
</props>
</shardingsphere:data-source>