For example, consider using persistence layers such as Hibernate or Enterprise Java
Beans, which can provide significant protection against SQL injection if used properly.
If available, use structured mechanisms that automatically enforce the separation
between data and code. These mechanisms may be able to provide the relevant quoting,