Skip to content

Commit

Permalink
TEIIDDES-2991 upgraded the call to create() node using teiid version …
Browse files Browse the repository at this point in the history
…instead of parser
  • Loading branch information
blafond committed Jan 5, 2017
1 parent 7918b20 commit 3afa7eb
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -156,7 +156,7 @@ private InputStream handleResult(String charSet, Object result, Properties prope

if (result instanceof SQLXML) {
if (charSet != null) {
XMLSerialize serialize = (XMLSerialize)TeiidNodeFactory.getInstance().create(parser, ASTNodes.XML_SERIALIZE);
XMLSerialize serialize = (XMLSerialize)TeiidNodeFactory.getInstance().create(version, ASTNodes.XML_SERIALIZE);
serialize.setTypeString("blob"); //$NON-NLS-1$
serialize.setDeclaration(true);
serialize.setEncoding(charSet);
Expand Down

0 comments on commit 3afa7eb

Please sign in to comment.