Microsoft SQL Server Spatial (JDBC) Reader/Writer

Licensing options for this format begin with FME Desktop Professional Edition.

Notice: New Formats in FME Version 2020.0

In FME 2020, we have changed the way FME connects with Microsoft SQL Server database formats.

We deprecated the previously used formats and replaced them with updated formats that use a new Database Connection family. These new formats allow advanced users to specify their own JDBC connection strings and connection properties. The new formats support all the functionality of the deprecated formats.

Deprecated Format Names

New Format Names

Microsoft SQL Server and Azure SQL Database Non-Spatial (JDBC) Reader/Writer (MSSQL_JDBC_NONSPATIAL, MSSQL_JDBC_AZURE_NONSPATIAL)

Microsoft SQL Server and Azure SQL Database Spatial (JDBC) Reader/Writer (MSSQL_JDBC_SPATIAL, MSSQL_JDBC_AZURE_SPATIAL)

Database Connections

  • The new formats cannot reuse Database Connections that were created for the deprecated formats.
  • To start using the new formats, you must create or embed new Database Connections.

Overview

The Microsoft SQL Server Spatial (JDBC) reader and writer modules provide FME with access to spatial and attribute data held in Microsoft SQL Server database tables.

FME provides read and write access via Microsoft's JDBC driver, which is bundled with FME.

Usage Notes

The performance of this format is dependent on the amount of memory allocated to the Java Virtual Machine (JVM). The following environment variables allow you to specify memory available to Java Plugins:

  • FME_JVM_MIN_HEAP_SIZE: Initial heap size for initializing the JVM. If unset, the default value is 1024K.
  • FME32_JVM_MIN_HEAP_SIZE: Same as FME_JVM_MIN_HEAP_SIZE, but applies to 32-bit FME Desktop on Windows, and if set, takes precedence over FME_JVM_MIN_HEAP_SIZE.

These variables must be set in multiples of 1024 and greater than 1 MB. To indicate kilobytes, megabytes, or gigabytes, append k or K, m or M, or g or G respectively. For example, any of these values is acceptable:

6291456

6144k

6m

  • FME_JVM_MAX_HEAP_SIZE: Maximum heap size for initializing the JVM. If unset, the default value is 16384K.
  • FME32_JVM_MAX_HEAP_SIZE: Same as FME_JVM_MAX_HEAP_SIZE, but applies to 32-bit FME Desktop on Windows, and if set, takes precedence over FME_JVM_MAX_HEAP_SIZE.

These variables must be set in multiples of 1024 and greater than 2 MB. To indicate kilobytes, megabytes, or gigabytes, append k or K, m or M, or g or G respectively. For example, any of these values is acceptable:

83886080

81920k

80m

Note: To pass additional parameters used by FME to the Java Virtual Machine, use the JAVA_TOOL_OPTIONS environment variable.