mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-04-19 03:01:48 +08:00
fix code
This commit is contained in:
parent
c328804fe5
commit
8ec9e2e55d
@ -38,6 +38,15 @@ public class DefaultConnectionHolder implements ConnectionHolder {
|
|||||||
this.ds = ds;
|
this.ds = ds;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 获得数据源
|
||||||
|
*
|
||||||
|
* @return 数据源
|
||||||
|
*/
|
||||||
|
public DataSource getDs() {
|
||||||
|
return this.ds;
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public Connection getConnection() throws DbException {
|
public Connection getConnection() throws DbException {
|
||||||
try {
|
try {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user