项目文件夹重命名后重新指定数据库文件位置
TODO:相对路径
This commit is contained in:
@@ -86,7 +86,6 @@ public class SpringContextHolder implements ApplicationContextAware, DisposableB
|
|||||||
}
|
}
|
||||||
|
|
||||||
public static boolean updateBean(String name, Object newBean) {
|
public static boolean updateBean(String name, Object newBean) {
|
||||||
log.debug("Enter updateBean for {}'s update", name);
|
|
||||||
if (SpringContextHolder.applicationContext != null) {
|
if (SpringContextHolder.applicationContext != null) {
|
||||||
if (!applicationContext.containsBean(name)) {
|
if (!applicationContext.containsBean(name)) {
|
||||||
log.debug("updateBean is only for initialized bean's updating, but {} doesn't exist or hasn't been initialized yet");
|
log.debug("updateBean is only for initialized bean's updating, but {} doesn't exist or hasn't been initialized yet");
|
||||||
|
|||||||
Reference in New Issue
Block a user