Spring, autowire @Value from a database
Posted
by Guido
on Stack Overflow
See other posts from Stack Overflow
or by Guido
Published on 2010-04-11T10:44:01Z
Indexed on
2010/04/12
8:03 UTC
Read the original article
Hit count: 405
I am using a properties File to store some configuration properties, that are accessed this way:
@Value("#{configuration.path_file}")
private String pathFile;
Is it possible (with Spring 3) to use the same @Value
annotation, but loading the properties from a database instead of a file ?
© Stack Overflow or respective owner