Spring Data REST move file rest-messages.properties to database

30 views Asked by At

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?

1

There are 1 answers

1
neo27 On

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.