Package 

Class SQLNormalizer


  • 
    public final class SQLNormalizer
    
                        

    This class removes numbers and SQL literals from strings on a best-effort basis, producing UTF-8 encoded bytes. The aim is to remove as much information as possible, but only when it's cheap to do so. It makes no context-sensitive decisions, which works well for ANSI SQL, but, for example, will not remove literals in MySQL which are indistinguishable from object names. This is not an obfuscator, and the strings produced by this class must be passed through obfuscation in the trace agent.