mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
improve hibernate support
This commit is contained in:
@@ -32,6 +32,10 @@ public class DruidConnectionProvider implements ConnectionProvider, Configurable
|
||||
|
||||
private DruidDataSource dataSource;
|
||||
|
||||
public DruidConnectionProvider(){
|
||||
dataSource = new DruidDataSource();
|
||||
}
|
||||
|
||||
@SuppressWarnings("rawtypes")
|
||||
@Override
|
||||
public boolean isUnwrappableAs(Class unwrapType) {
|
||||
|
||||
Reference in New Issue
Block a user