phoenix-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] bd2019us opened a new pull request #448: use PreparedStatement
Date Tue, 26 Feb 2019 20:29:18 GMT
bd2019us opened a new pull request #448: use PreparedStatement
URL: https://github.com/apache/phoenix/pull/448
 
 
   Hello,
   Is it a good way to use "PreparedStatement" instead of "createStatement" in order to improve
performance?  "PreparedStatement" is used to execute dynamic or parameterized SQL queries.
It is helpful if we are executing a particular SQL query multiple times ( such as in a loop
in this case) since "PreparedStatement" can be precompiled and the query is created only once.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message