//创建collablestatement
CallableStatement ct=ct.prepareCall("{call my_proc_name ( , )}");
ct.setString(1,"SMITH");
ct.setString(2,10);
cs.execute();
cs.close();
ct.close();
开发工具
sqlplus
pl/sql developer
优点:
性能
模块化
减少网络传输量
安全性,不会暴露内部数据结构,oracle本身的安全性
pl/sql缺点
移植性不好