Browse Source

Merge pull request #7364 from 94464562/patch-1

remove dbsource from cache
pull/7366/head
JEECG 1 month ago committed by GitHub
parent
commit
f28a2dbbeb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 3
      jeecg-boot/jeecg-boot-base-core/src/main/java/org/jeecg/common/util/dynamic/db/DynamicDBUtil.java

3
jeecg-boot/jeecg-boot-base-core/src/main/java/org/jeecg/common/util/dynamic/db/DynamicDBUtil.java

@ -106,9 +106,10 @@ public class DynamicDBUtil {
dataSource.getConnection().commit();
dataSource.getConnection().close();
dataSource.close();
DataSourceCachePool.removeCache(dbKey);
}
} catch (SQLException e) {
e.printStackTrace();
log.info(e.getMessage(), e);
}
}

Loading…
Cancel
Save