@Override protected void doChanged( java.sql.Connection connection, org.phoenixbioinformatics.api.db.api.IPartner dto) throws java.sql.SQLException, com.poesys.db.BatchException, com.poesys.db.ConstraintViolationException, com.poesys.db.dto.DtoStatusException { // partner source: AddToOneAssociationRequiredObjectProperties // Immutable: false com.poesys.db.dao.IDaoManager manager = com.poesys.db.dao.DaoManagerFactory.getManager(subsystem); com.poesys.db.dao.IDaoFactory<org.phoenixbioinformatics.api.db.api.IPartner> factory = manager.getFactory( org.phoenixbioinformatics.api.db.api.Partner.class.getName(), subsystem, 2147483647); com.poesys.db.dao.update.IUpdate<org.phoenixbioinformatics.api.db.api.IPartner> updater = factory.getUpdate(new org.phoenixbioinformatics.api.db.api.sql.UpdatePartner()); // Update the leaf class. updater.setLeaf(true); updater.update(connection, dto); // Complete the update by setting the DTO to EXISTING status. dto.setExisting(); }