JDBC系列:(3)使用Prepared

接口

作用

Statement接口

用于执行静态的sql语句

PreparedStatement接口

用于执行预编译sql语句

CallableStatement接口

用于执行存储过程的sql语句(call xxx)