62,614
社区成员
发帖
与我相关
我的任务
分享
reyo.driverClassName=com.mysql.jdbc.Driver
reyo.url=jdbc:mysql://localhost:3306/test?useSSL=false&useUnicode=true&characterEncoding=UTF-8
reyo.username=root
reyo.password=123456
h2.driverClassName=org.h2.Driver
h2.url=jdbc:h2:tcp://localhost/mem:h2;DB_CLOSE_DELAY=-1
h2.username=sa
h2.password=
然后注入相应的beans再指定相应的dao调用相应的数据源即可