databases.yml
603 Bytes
datasources:
ufo_product:
servers:
- ${jdbc.mysql.yhshops.master}
- ${jdbc.mysql.yhshops.slave}
username: ${jdbc.mysql.yh.username}
password: ${jdbc.mysql.yh.password}
maxTotal: 100
daos:
- com.yohobuy.platform.dal.product.IBrandDao
ufo_order:
servers:
- ${jdbc.mysql.yhshops.master}
- ${jdbc.mysql.yhshops.slave}
username: ${jdbc.mysql.yh.username}
password: ${jdbc.mysql.yh.password}
maxTotal: 100
daos:
- com.yohobuy.platform.dal.product.IBrandDao
readOnlyInSlave: ${readOnlyInSlave}