JDBC application that uses java.sql.PreparedStatement to execute a parameterized query on MySQL database. This approach avoids SQL injection as well as improves performance of the application.
For detailed explanation of the code refer the YouTube video. https://youtu.be/GzSUyiep7Mw