Add switch type of DAO by spring profile.