public static List<String> getGeometryFields(Connection connection,TableLocation location) throws SQLException {
        return getGeometryFields(connection, location.getCatalog(), location.getSchema(), location.getTable());
    }
public static List < String > getGeometryFields ( Connection connection , TableLocation location ) throws SQLException { return getGeometryFields ( connection , location . getCatalog ( ) , location . getSchema ( ) , location . getTable ( ) ) ; }
Find geometry fields name of a table.

@param connection Active connection
@param location Table location

@return A list of Geometry fields name

@throws SQLException