To make the updated data reflect programmatically use Partial Trigger.
Connection conn=null; Class.forName ("oracle.jdbc.driver.OracleDriver");
try{
conn = DriverManager.getConnection
("jdbc:oracle:thin:@localhost:1521:xe", "SYSTEM", "singh");
}catch(Exception e){
e.printStackTrace();
}
String sql="UPDATE A SET COUNTRY='Pakistan' WHERE ID=1";
Statement stm =conn.prepareStatement(sql);
int i= stm.executeUpdate(sql);
DCBindingContainer dcbc=(DCBindingContainer)BindingContext.getCurrent().getCurrentBindingsEntry();
DCIteratorBinding dcit=dcbc.findIteratorBinding("ViewObj1Iterator");
dcit.executeQuery();
AdfFacesContext.getCurrentInstance().addPartialTarget(getTable());