mirror of
https://github.com/jeecgboot/JeecgBoot.git
synced 2025-12-20 02:52:49 +00:00
Merge pull request #7364 from 94464562/patch-1
remove dbsource from cache
This commit is contained in:
commit
f28a2dbbeb
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user