web applications - Checkmarx's vulnerability scanner reports Java's HibernateTemplate.find() method to be vulnerable to SQLi attacks -


i'm developing java application using hibernate , spring framework. when scan project checkmarx's vulnerability scanner, reports several sql injection vulnerabilities in hibernatetemplate.find() method.

how can fix this?. there secure alternative hibernatetemplate.find()?

use hibernatetemplate.findbyexample(obj) or hibernatetemplate.findbycriteria() instead.


Comments

Popular posts from this blog

ios - Change Storyboard View using Seague -

inversion of control - Autofac named registration constructor injection -

verilog - Systemverilog dynamic casting issues -