GeometryFactory gf = new GeometryFactory(precisionModel, SRID);
Coordinate[] points = { new Coordinate(30, 40), new Coordinate(50, 60) };
LineString[] geometries = new LineString[2];
geometries [0] = gf.createLineString(points);
Coordinate[] points2 = { new Coordinate(40, 30), new Coordinate(70, 40) };
geometries[1] = gf.createLineString(points2);
// TODO, DB2 does not support instantiating a geometry collection from wkb,
// wkb type 7, replace GeometryCollection with MultiLineString
// code in superclass: GeometryCollection geometry = new GeometryCollection(geometries, factory );
// For DB2, we must use the following line of code