docs: public static Map<String,Object> addDBProperties(Map<String,Object> properties, PropertyOwner propertyOwner, Map<String,Object> otherProperties)
      {
          if (properties == null)
              properties = new Hashtable<String,Object>();
          BaseDatabase.addDBProperty(properties, propertyOwner, otherProperties, DBConstants.CREATE_DB_IF_NOT_FOUND);
          BaseDatabase.addDBProperty(properties, propertyOwner, otherProperties, DBConstants.DB_USER_PREFIX);
          BaseDatabase.addDBProperty(properties, propertyOwner, otherProperties, DBConstants.SYSTEM_NAME);
          BaseDatabase.addDBProperty(properties, propertyOwner, otherProperties, DBConstants.MODE);
          BaseDatabase.addDBProperty(properties, propertyOwner, otherProperties, DBConstants.LOAD_INITIAL_DATA);
          BaseDatabase.addDBProperty(properties, propertyOwner, otherProperties, DBConstants.ARCHIVE_FOLDER);
          BaseDatabase.addDBProperty(properties, propertyOwner, otherProperties, DBConstants.USER_ARCHIVE_FOLDER);
          BaseDatabase.addDBProperty(properties, propertyOwner, otherProperties, DBConstants.SHARED_ARCHIVE_FOLDER);
          BaseDatabase.addDBProperty(properties, propertyOwner, otherProperties, DBConstants.BASE_TABLE_ONLY);
          BaseDatabase.addDBProperty(properties, propertyOwner, otherProperties, SQLParams.AUTO_COMMIT_PARAM);
          if (propertyOwner != null)
          {
          	BaseDatabase.addOtherDBProperties(properties, propertyOwner.getProperties());
          	if (propertyOwner instanceof RecordOwnerParent)
          	{
          		Task task = ((RecordOwnerParent)propertyOwner).getTask();
          		if (task != null)
      			{
          			BaseDatabase.addOtherDBProperties(properties, task.getProperties());
          			App app = task.getApplication();
      				if (app != null)
      				{
      					BaseDatabase.addOtherDBProperties(properties, app.getProperties());
      					// Note: db properties should not be in the environment.. so don't go farther
      				}
      			}
          	}
          }
          if (otherProperties != null)
          	BaseDatabase.addOtherDBProperties(properties, otherProperties);        	
          return properties;
      }