/// /// <returns> Integer value representing the history level or <code>null</code> if none found </returns> public static int?databaseHistoryLevel(CommandContext commandContext) { try { PropertyEntity historyLevelProperty = commandContext.PropertyManager.findPropertyById("historyLevel"); return(historyLevelProperty != null ? new int?(historyLevelProperty.Value) : null); } catch (Exception e) { LOG.couldNotSelectHistoryLevel(e.Message); return(null); } }