mirror of
https://github.com/jeecgboot/jeecg-boot.git
synced 2025-09-27 02:11:54 +00:00
remove dbsource from cache
remove dbsource from cache
This commit is contained in:
@@ -106,9 +106,10 @@ public class DynamicDBUtil {
|
|||||||
dataSource.getConnection().commit();
|
dataSource.getConnection().commit();
|
||||||
dataSource.getConnection().close();
|
dataSource.getConnection().close();
|
||||||
dataSource.close();
|
dataSource.close();
|
||||||
|
DataSourceCachePool.removeCache(dbKey);
|
||||||
}
|
}
|
||||||
} catch (SQLException e) {
|
} catch (SQLException e) {
|
||||||
e.printStackTrace();
|
log.info(e.getMessage(), e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user