Preventing Overflow Exceptions When Loading Large Geometries in Oracle

When an Oracle database is configured to support larger geometries than the default, an Overflow Exception may occur:

Caused by: java.sql.SQLException: Overflow Exception

    at oracle.sql.NUMBER.toLongInternal(NUMBER.java:429)

In this case a slower method can be used by Cadenza to load geometries and avoid the overflow exception.

To enable this method the following Java System Property must be set: net.disy.oracle.geometry.load.compatibility.mode=true