An Adaptive Mechanism to Protect Databases against SQL Injection.