A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Statement Vs PreparedStatement ?
Joined: Aug 02, 2012
Aug 02, 2012 15:58:54
Why do we need Statement when there is a more benefit with PreparedStatement (Pre-compiled in database after first hit)?
I mean in which scenario we should use Statement interface instead of PreparedStatement interface ?
Joined: Oct 21, 2008
Aug 03, 2012 03:27:52
can you do DDL in prepared statements eg create table?
I agree. Here's the link:
subject: Statement Vs PreparedStatement ?
why java.sql package contain most interface like Statement,preparedStatement ?
Statement & PreparedStatement
PreparedStatement Vs Statement
Statement vs PreparedStatement
how to execute complex queries
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014