SQLException No more data to read from socket
503237Aug 14 2006 — edited Aug 17 2006I have built in my java code 2 dimensional curves (lines) and multicurves(multilines) using the JGeometry API. Yet when I try executeUpdate on my prepared statement to load them I get the above SQLException error "No more data to read from socket."
I actually have more values that go in the row of data which I can load as long as the shape is not being loaded. In fact as long as I set the column to null everything gets loaded ( I create a dummy JGeometry object, call store on it to create A STRUCT object and then call STRUCTS getSqlValue method and use that in PreparedStatement's setNull method.)
Has anyone expierenced a similar problem? Is there perhaps a limitation on the size of multiline one may have?