private void init() throws SQLException {
    importXalSource = config.getProject().getImporter().getAddress().isSetImportXAL();

    psAddress =
        batchConn.prepareStatement(
            "insert into ADDRESS (ID, STREET, HOUSE_NUMBER, PO_BOX, ZIP_CODE, CITY, COUNTRY, MULTI_POINT, XAL_SOURCE) values "
                + "(?, ?, ?, ?, ?, ?, ?, ?, ?)");

    addressToBuildingImporter =
        (DBAddressToBuilding) dbImporterManager.getDBImporter(DBImporterEnum.ADDRESS_TO_BUILDING);
    stGeometry = (DBStGeometry) dbImporterManager.getDBImporter(DBImporterEnum.ST_GEOMETRY);
  }
  private void init() throws SQLException {
    featureClassFilter = exportFilter.getFeatureClassFilter();
    featureGmlIdFilter = exportFilter.getGmlIdFilter();
    featureGmlNameFilter = exportFilter.getGmlNameFilter();
    boundingBoxFilter = exportFilter.getBoundingBoxFilter();

    transformCoords = config.getInternal().isTransformCoordinates();
    if (!transformCoords) {
      psGeneralization =
          connection.prepareStatement(
              "select GMLID, CLASS_ID, ENVELOPE from CITYOBJECT where ID=?");
    } else {
      int srid = config.getInternal().getExportTargetSRS().getSrid();

      psGeneralization =
          connection.prepareStatement(
              "select GMLID, CLASS_ID, "
                  + "geodb_pkg.util_transform_or_null(ENVELOPE, "
                  + srid
                  + ") AS ENVELOPE "
                  + "from CITYOBJECT where ID=?");
    }
  }