[ARQ-1360] Improved handling of special characters and line delimiter which might be also used within character sequences in the statements.
Fixed Glassfish profiles.