A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
JDBC and Relational Databases
Pre compilation of Prepared Statement
Joined: Sep 06, 2004
Sep 27, 2006 05:34:00
Exactly at what moment does the Database driver/engine compile the Prepared Statement (since it is known as pre compiled stmt).
I am not completely useless.<br />I can be used as a bad example.<br /> <br />SCJP 1.4
author & internet detective
Joined: May 26, 2003
Sep 27, 2006 17:50:00
When you call prepareStatement(), you are informing the driver to precompile the statement. The database itself precompiles on the first call.
OCA 8 book
How To Ask Questions The Smart Way
Blogging on Certs:
SCEA Part 1
Part 2 & 3
Core Spring 3
TOGAF part 1
I agree. Here's the link:
subject: Pre compilation of Prepared Statement
Create DB2 database
How to move cursor to next row?
Difference between Statement/Prepared statement?
PreparedStatement Vs Statement
what is better
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015