【发布时间】:2018-12-11 06:23:52
【问题描述】:
我正在开发一个使用 Redis 作为主要数据存储的 Spring Boot 应用程序。有没有办法在应用程序启动时将数据插入到 Redis 数据库中,就像我们使用 Mongeez 脚本为 MongoDB 所做的那样?
提前致谢。
【问题讨论】:
标签: mongodb spring-boot redis spring-data
我正在开发一个使用 Redis 作为主要数据存储的 Spring Boot 应用程序。有没有办法在应用程序启动时将数据插入到 Redis 数据库中,就像我们使用 Mongeez 脚本为 MongoDB 所做的那样?
提前致谢。
【问题讨论】:
标签: mongodb spring-boot redis spring-data
很多年前,我用 ApplicationRunner 做了一些事情
【讨论】: