I try to convert from string into xml using teiid server but when I run query this error always appear "java.io.OptionalDataException" ..I don't understand what the wrong.thank you
Iam trying to convert this simple string
'<row><id>1</id></row>'
into xml using CAST(expression AS xml) or CONVERT(expression, xml) and mysql query is SELECT ViewModel.table.column, CAST('1' AS xml) FROM ViewModel.table