code: @Override
    public <T> long updateObject(String name, T obj) throws CpoException {
      return getCurrentResource().updateObject(name, obj);
    }
docs: Update the Object in the datasource. The CpoAdapter will check to see if the object exists in the datasource. If it
  exists then the object will be updated. If it does not exist, an exception will be thrown
  <p>
  <pre>Example:
  <code>
  <p>
  class SomeObject so = new SomeObject();
  class CpoAdapter cpo = null;
  <p>
  try {
  cpo = new JdbcCpoAdapter(new JdbcDataSourceInfo(driver, url, user, password,1,1,false));
  } catch (CpoException ce) {
  // Handle the error
  cpo = null;
  }
  <p>
  if (cpo!=null) {
  so.setId(1);
  so.setName("SomeName");
  try{
  cpo.updateObject("updateSomeObject",so);
  } catch (CpoException ce) {
  // Handle the error
  }
  }
  </code>
  </pre>
  
  @param name The String name of the UPDATE Function Group that will be used to create the object in the datasource.
  null signifies that the default rules will be used.
  @param obj  This is an object that has been defined within the metadata of the datasource. If the class is not
  defined an exception will be thrown.
  @return The number of objects updated in the datasource
  @throws CpoException Thrown if there are errors accessing the datasource