code: public static DatabaseStructureType getDatabaseType(WorkspaceEntry wsConfig) throws RepositoryConfigurationException
     {
        try
        {
           if (wsConfig.getContainer().getParameterBoolean("multi-db"))
           {
              return JDBCDataContainerConfig.DatabaseStructureType.MULTI;
           }
           else
           {
              return JDBCDataContainerConfig.DatabaseStructureType.SINGLE;
           }
        }
        catch (Exception e)
        {
           String dbStructureType =
              wsConfig.getContainer().getParameterValue(JDBCWorkspaceDataContainer.DB_STRUCTURE_TYPE).toUpperCase();
           return JDBCDataContainerConfig.DatabaseStructureType.valueOf(dbStructureType);
        }
     }
docs: Returns {@link DatabaseStructureType} based on workspace configuration.