File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
REST with Spring (video course)
this week in the
JDBC and Relational Databases
jdbc template vs hibernate
Joined: May 24, 2014
Jul 21, 2014 19:20:26
What is the best way to securely pass SQL in a
application? Today I heard that
template was the best.
author & internet detective
Joined: May 26, 2003
Jul 21, 2014 19:25:35
Welcome to CodeRanch!
The key is to make sure the SQL is secure by itself. This is true regardless of what persistence technology you use. The most important rule is to make sure you always use bind variables (? in JDBC) for any data that could be supplied by the user.
OCA 8 book
How To Ask Questions The Smart Way
SCEA Part 1
Part 2 & 3
Core Spring 3
TOGAF part 1
I agree. Here's the link:
subject: jdbc template vs hibernate
Best Practices and User Guidelines Templates
JDBC implementation at persistent layer side in spring
Needing to build jsf page with three content panes (forms?), looking for template
Connecting to Database using JDBC template (Spring)
Help needed in Spring's JDBC Template !!!
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015