Professional Documents
Culture Documents
stm.setInt(1,122);
stm.setString(2,"siddhi Viradiya");
/*-----callablestatement -----*/
CallableStatement stm1= con.prepareCall("{ call getcall() } ");
ResultSet rs= stm1.executeQuery();
while(rs.next())
{
System.out.println(rs.getInt(2)+ " "+rs.getString(1)+"
"+rs.getString(3));
}
}
catch(Exception e)
{
System.out.println("Exception: "+e);
}
}