Returns the Well-Known Binary (WKB) representation of an ST_Geometry value as a java.io.InputStream object. The ST_Geometry value must be an input parameter to a Java UDF or an IN or INOUT parameter of a Java external stored procedure.
Syntax
public java.io.InputStream getWKB() throws java.sql.SQLException
Exceptions
Throws SQLException if a database access error occurs. Returns the following database specific error code: 9747 (ERRUDFJAVAGEOM)<Failed to retrieve WKB value>.