Usage

Configuration Item Explanation

Example

  1. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  2. xmlns:shardingsphere="http://shardingsphere.apache.org/schema/shardingsphere/datasource"
  3. xsi:schemaLocation="http://www.springframework.org/schema/beans
  4. http://www.springframework.org/schema/beans/spring-beans.xsd
  5. http://shardingsphere.apache.org/schema/shardingsphere/datasource/datasource.xsd
  6. <shardingsphere:data-source id="ds" database-name="foo_schema" data-source-names="..." rule-refs="...">
  7. <shardingsphere:mode type="..." />
  8. <prop key="xxx.xxx">${xxx.xxx}</prop>
  9. </props>
  10. </shardingsphere:data-source>