code: @Override
      public Map<String, Integer> loadFunctionTypes() throws SQLException {
          PreparedStatement ps = getPreparedStatement(FUNCTION_TYPE_SQL);
  
          Map<String, Integer> functionTypeIdMap =
                  new HashMap<String, Integer>();
  
          int ftid = 0;
          for (FunctionEnum f : FunctionEnum.values()) {
              String functionName = f.getDisplayValue();
              ps.setInt(1, ftid);
              ps.setString(2, functionName);
              ps.addBatch();
              functionTypeIdMap.put(functionName, ftid);
              ftid++;
          }
  
          ps.executeBatch();
          return functionTypeIdMap;
      }
docs: {@inheritDoc}