mirror of
https://github.com/jeecgboot/JeecgBoot.git
synced 2026-02-21 01:30:28 +00:00
remove dbsource from cache
remove dbsource from cache
This commit is contained in:
parent
48805484d4
commit
b81435aaca
@ -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