executeQuery() vs executeUpdate() vs execute()

Posted on November 9, 2012. Filed under: java/j2EE |

executeQuery()—for getting the data from database table
executeUpdate()—for create, update, drop database; create, update, drop database table; insert,update,delete data from database
execute()-any kind of operations




Make a Comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Liked it here?
Why not try sites on the blogroll...

%d bloggers like this: