PrepareStatement
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   rengasamy_thayanithi
Posted On:   Thursday, September 11, 2003 12:20 AM

I Dont understand the Power of PrepareStatement that Statement. I like to Know , what is meant by precompilation of queries.

Re: PrepareStatement

Posted By:   Thomas_Hackel  
Posted On:   Thursday, September 11, 2003 12:59 AM

the jdbc driver compiles each query and checks the query for its correct syntax. this operation is VERY expensive. so you should use only PreperaredStatements where this compilation is only done once and you reuse the query with different parameter. is speeds up db access a lot!
About | Sitemap | Contact