目录1 介绍1.1 特点1.2 约定2 使用方式2.1 引入依赖2.2 配置数据源2.2.1 多主多从2.2.2纯粹多库2.2.3混合配置2.3 使用@DS切换数据源2.4 使用代码切换数据源2.5 添加新的数据源3 使用myBATis创建数据库4 使用SpringJD
I have several frequent Cron jobs that are run via Rake and the output of those jobs are e-mailed (via a MAILTO).Due to the fact that these tasks load the Rails environment (which includes Erubis) the