answersLogoWhite

0


Want this question answered?

Be notified when an answer is posted

Add your answer:

Earn +20 pts
Q: When does a preparedstatement consume more time?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What kind of statement is precompiled and stored in a PreparedStatement object?

A programming statement is precompiled and stored in a PreparedStatement object. It is usually a statement that is repeated and executed many times throughout the program.


What is the difference between Statement and PreparedStatement?

* Prepared Statement is Pre-compiled class , but Statement is not. * So in PreparedStatement the execution will be faster. Actually when u submit a simple statement to the databse, at first the DBMS parses it and sends it back with the result, so again when u send the same statement again the DBMS server parses it and sends back the result so here a lot of time is wasted and because the statement is again parsed though it has been sent twice or thrice it consumes a lot of time and response will be slow.Prepared Statement is used when u want to execute a statement object many times. when u submit a PreparedStatement the DBMS server parses it and creates a execution plan. This e-plan can be used when u again send the same statement to the database.That is the DBMS server zest executes the compiled statement rather that executing it from first, hence we get an precompiled statement.And also the advanatge of using this PreparedStatement is it is used to send dynamic sql statements, which u can give values later than giving the values at the time of creation.


What is more than l can stomach?

What is more than you can stomach refers to what you can be able to consume at any given time.


Do Americans consume more salmon or shrimp?

Americans consume more shrimp annually then salmon.


What do you have to burn more than you consume in order to lose weight?

You have to burn more calories than you consume.


Define consumer equilibrium?

It is atime when a person reach the maximum point of satisfaction after consume more a certain commodity at a time.


Advantages of reservation?

Less time time and effort to consume.


Does a plane consume more or less fuel with a headwind?

It would consume more fuel - as it would need to expend more energy to fight against the headwind.


Would it take more energy to deposit sand or rocks.?

no,because over time the waves will eventualy consume the whole beach


How do you stores images in an array using java?

File file=new File("c:\\Time.jpg"); PreparedStatement ps=connection.prepareStatement("insert into Table1 (image_id, image_data)...


Do vegetarians defecate less?

Vegetarians will defecate more if they take in much more natural fiber. At the same time, a meat eater will also defecate more the more naturally fibrous foods they consume.


Would it take more wave energy to deposit sand or rocks?

no,because over time the waves will eventualy consume the whole beach