Exemple #1
0
 /**
  * To the many-to-many relationship expressed by CompanyDO, add a AdressDO object that indirectly
  * refers to the DO held by this BDO.
  *
  * @param b The AdressBDO to add to the CompanyDO mapping for this BDO.
  * @exception DataObjectException If the object is not found in the database.
  */
 public void mapAdress_via_CompanyBDO(jobmatch.data.AdressBDO b, DBTransaction tran)
     throws DataObjectException, DatabaseManagerException, RefAssertionException, SQLException,
         DBRowUpdateException, QueryException {
   jobmatch.data.CompanyBDO m = null;
   try {
     m = jobmatch.data.CompanyBDO.createVirgin();
   } catch (Exception e) {
     throw new DataObjectException("jobmatch.data.CompanyBDO.createVirgin failed", e);
   }
   m.setAdress(b);
   m.setIndustry(this);
   m.commit(tran);
 }