JDBC系列:(3)使用Prepared

接口

作用

Statement接口

用於執行靜態的sql語句

PreparedStatement接口

用於執行預編譯sql語句

CallableStatement接口

用於執行存儲過程的sql語句(call xxx)