what needs to be added to spring boot 2, so that the value would first be checked in the database and if not found then searched in the file rest-messages.properties?
Asked
Active
Viewed 22 times
1 Answers
0
Can you try using JPA to fetch these values from Database table . If the result is not empty you can return value based on present in table. If its empty you can try to return from properties file.

manoj
- 26
- 1
- 4
-
no problem to use jpa. where is this bean in which i can write checks and substitutions ? – Denis W Apr 20 '22 at 07:10