Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes JDBC and the fly likes How does the database know to store prepared statement Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "How does the database know to store prepared statement" Watch "How does the database know to store prepared statement" New topic
Author

How does the database know to store prepared statement

Chandra Bairi
Ranch Hand

Joined: Sep 12, 2003
Posts: 152
how does the database know to store the compiled prepared statement . does the driver tell the database to store the prepared statement


Thanks,
Shekar
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 30057
    
149

Chandra,
The database itself stores/compiles the prepared statement. The driver manages the connection between the database and your JDBC layer.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: How does the database know to store prepared statement
 
Similar Threads
Statement is an interface?
JDBC - Statement is an interface?
execute() and prepared statements
Statement vs. Prepared Statement
prepared statement....