What is the advantage of PreparedStatement over Statement ?
4 years ago
OOP Java
Prepared Statements are precompiled and thus, their performance is much better. Also, PreparedStatement objects can be reused with different input values to their queries.
Surya Bikram Bhandari
Oct 31, 2021