object/src/main/java/com/orientechnologies/orient/object/db/OObjectDatabaseTx.java
private void registerFieldMappingStrategy() {
    if (!this.getConfiguration().getContextKeys().contains(OGlobalConfiguration.DOCUMENT_BINARY_MAPPING.getKey())) {
      this.getConfiguration()
          .setValue(OGlobalConfiguration.DOCUMENT_BINARY_MAPPING, OGlobalConfiguration.DOCUMENT_BINARY_MAPPING.getValueAsInteger());
    }
  }
private void registerFieldMappingStrategy() {
    if (!this.getConfiguration().getContextKeys().contains(OGlobalConfiguration.DOCUMENT_BINARY_MAPPING.getKey())) {
      this.getConfiguration()
          .setValue(OGlobalConfiguration.DOCUMENT_BINARY_MAPPING, OGlobalConfiguration.DOCUMENT_BINARY_MAPPING.getValueAsInteger());
    }
  }
Register the static document binary mapping mode in the database context (only if it's not already set)