The post (“JDBC Insert Records Using PreparedStatement”) will give an example, and show how to add records using PreparedStatement. JDBC Prepared Statement is used to handle precompiled query. If you want to execute a Statement object many times, it usually reduces execution time to use a PreparedStatement object instead. Continue reading
JDBC Insert Records Using PreparedStatement
8