Queries submitted to Teiid containing the NUL character for the ESCAPE character are not properly printed to jboss logging.
Seems that the NUL character can be used within java Strings but when the String is printed to the display, it terminates at the first NUL character it reaches. This result in "... ESCAPE '\u0000' ... being printed as "... ESCAPE '".
See here for an example of a jboss log with such a query.