mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
git-svn-id: http://code.alibabatech.com/svn/druid/trunk@59 b9813039-fb51-4c41-a8b9-e21c2acb5095
This commit is contained in:
@@ -171,6 +171,11 @@ public class FilterChainImpl implements FilterChain {
|
||||
}
|
||||
|
||||
Clob clob = connection.getConnectionRaw().createClob();
|
||||
|
||||
if (clob == null) {
|
||||
return null;
|
||||
}
|
||||
|
||||
return wrap(connection, clob);
|
||||
}
|
||||
|
||||
@@ -1618,6 +1623,10 @@ public class FilterChainImpl implements FilterChain {
|
||||
}
|
||||
|
||||
Clob clob = resultSet.getResultSetRaw().getClob(columnIndex);
|
||||
|
||||
if (clob == null) {
|
||||
return null;
|
||||
}
|
||||
|
||||
return wrap(resultSet.getStatementProxy().getConnectionProxy(), clob);
|
||||
}
|
||||
@@ -1665,6 +1674,11 @@ public class FilterChainImpl implements FilterChain {
|
||||
}
|
||||
|
||||
Clob clob = resultSet.getResultSetRaw().getClob(columnLabel);
|
||||
|
||||
if (clob == null) {
|
||||
return null;
|
||||
}
|
||||
|
||||
return wrap(resultSet.getStatementProxy().getConnectionProxy(), clob);
|
||||
}
|
||||
|
||||
@@ -3338,6 +3352,11 @@ public class FilterChainImpl implements FilterChain {
|
||||
}
|
||||
|
||||
Clob clob = statement.getRawCallableStatement().getClob(parameterIndex);
|
||||
|
||||
if (clob == null) {
|
||||
return null;
|
||||
}
|
||||
|
||||
return wrap(statement.getConnectionProxy(), clob);
|
||||
}
|
||||
|
||||
@@ -3827,6 +3846,11 @@ public class FilterChainImpl implements FilterChain {
|
||||
}
|
||||
|
||||
Clob clob = statement.getRawCallableStatement().getClob(parameterName);
|
||||
|
||||
if (clob == null) {
|
||||
return null;
|
||||
}
|
||||
|
||||
return wrap(statement.getConnectionProxy(), clob);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user