Results 1 to 1 of 1
- 06-20-2012, 04:32 PM #1
Member
- Join Date
- Oct 2011
- Posts
- 33
- Rep Power
- 0
Why should you use PreparedStatement in Java to execute Query?
JDBC offers several ways to execute sql queries like Statement, PreparedStatement and CallableStatement.PreparedStatment offers several benefits one of them is prevention from SQL injection which is must in any secure Java application. read full post on Why you should use PreparedStatement in Java
Similar Threads
-
How to execute cmd commands in java
By JyothiMN in forum New To JavaReplies: 1Last Post: 04-27-2012, 06:38 PM -
Extracting the query from PreparedStatement
By mkarthik90 in forum Advanced JavaReplies: 5Last Post: 02-15-2012, 09:54 AM -
MySQL simple select - PreparedStatement execute() returns true if not found?
By KingdomX in forum New To JavaReplies: 2Last Post: 01-21-2012, 05:34 PM -
Query taking lot of time to execute..
By asgardar in forum Advanced JavaReplies: 4Last Post: 01-19-2011, 07:09 PM -
PreparedStatement with java.sql.Date
By Java Tip in forum Java TipReplies: 0Last Post: 02-10-2008, 11:39 AM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks