docs: public Map<String, Object> addDatabaseProperties(Map<String,Object> properties, DatabaseOwner databaseOwner)
      {
          Map<String,Object> oldProperties = databaseOwner.getProperties();
          if (properties != null)
          {   // Also move any application params up.
              for (String key : properties.keySet())
              {   // Move these params to the application
                  if ((key.endsWith(BaseDatabase.DBSHARED_PARAM_SUFFIX))
              		|| (key.endsWith(BaseDatabase.DBUSER_PARAM_SUFFIX))
                      || (DBConstants.DB_USER_PREFIX.equals(key))
                          || (DBConstants.SYSTEM_NAME.equals(key)))
                  {
                      if (oldProperties == databaseOwner.getProperties())
                      {   // Return the old properties
                          oldProperties = new HashMap<String,Object>();
                          oldProperties.putAll(databaseOwner.getProperties());
                      }
                      databaseOwner.setProperty(key, (String)properties.get(key));
                  }
              }
          }
          return oldProperties;
      }