BaseDao baseDao=new BaseDao();
Connection conn=baseDao.getConn();
CallableStatement c=conn.prepareCall("{call p_datamove_sql(?,?,?)}");
c.setString(1,"TO");
c.setString(2,"1");
c.registerOutParameter(3, Types.VARCHAR);
c.execute();
String testPrint = c.getString(3);
System.out.println("=testPrint=is=:"+testPrint);
conn.close();
Connection conn=baseDao.getConn();
CallableStatement c=conn.prepareCall("{call p_datamove_sql(?,?,?)}");
c.setString(1,"TO");
c.setString(2,"1");
c.registerOutParameter(3, Types.VARCHAR);
c.execute();
String testPrint = c.getString(3);
System.out.println("=testPrint=is=:"+testPrint);
conn.close();