Skip to content

Commit

Permalink
TEIIDDES-3130
Browse files Browse the repository at this point in the history
  • Loading branch information
blafond committed Nov 3, 2017
1 parent 7089edd commit b4ff694
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -161,13 +161,14 @@ private InputStream handleResult(String charSet, Object result, Properties prope
serialize.setDeclaration(true);
serialize.setEncoding(charSet);
serialize.setDocument(true);
InputStream iStreamResult = null;
try {
return ((BlobType)XMLSystemFunctions.serialize(serialize, new XMLType((SQLXML)result))).getBinaryStream();
iStreamResult = ((BlobType)XMLSystemFunctions.serialize(serialize, new XMLType((SQLXML)result))).getBinaryStream();
} catch (Exception e) {
throw new SQLException(e);
}
}
return ((SQLXML)result).getBinaryStream();
return iStreamResult;
}
else if (result instanceof Blob) {
return ((Blob)result).getBinaryStream();
Expand Down

0 comments on commit b4ff694

Please sign in to comment.