@ -80,7 +80,7 @@ public abstract class AbstractLobStreamingResultSetExtractor<T> implements Resul
@@ -80,7 +80,7 @@ public abstract class AbstractLobStreamingResultSetExtractor<T> implements Resul
@ -161,7 +161,7 @@ public class SqlFunction<T> extends MappingSqlQuery<T> {
@@ -161,7 +161,7 @@ public class SqlFunction<T> extends MappingSqlQuery<T> {
publicintrun(Object...parameters){
Objectobj=super.findObject(parameters);
if(!(objinstanceofNumber)){
thrownewTypeMismatchDataAccessException("Couldn't convert result object ["+obj+"] to int");
thrownewTypeMismatchDataAccessException("Could not convert result object ["+obj+"] to int");
@ -54,22 +54,26 @@ public class ContextCleanupListener implements ServletContextListener {
@@ -54,22 +54,26 @@ public class ContextCleanupListener implements ServletContextListener {
@ -188,8 +188,8 @@ public class ServletRequestAttributes extends AbstractRequestAttributes {
@@ -188,8 +188,8 @@ public class ServletRequestAttributes extends AbstractRequestAttributes {
publicvoidremoveAttribute(Stringname,intscope){
if(scope==SCOPE_REQUEST){
if(isRequestActive()){
this.request.removeAttribute(name);
removeRequestDestructionCallback(name);
this.request.removeAttribute(name);
}
}
else{
@ -197,9 +197,8 @@ public class ServletRequestAttributes extends AbstractRequestAttributes {
@@ -197,9 +197,8 @@ public class ServletRequestAttributes extends AbstractRequestAttributes {
if(session!=null){
this.sessionAttributesToUpdate.remove(name);
try{
session.removeAttribute(name);
// Remove any registered destruction callback as well.