Creates a new
SQLOutputImpl
object
initialized with the given vector of attributes and
type map. The driver will use the type map to determine
which
SQLData.writeSQL
method to invoke.
This method will then call the appropriate
SQLOutputImpl
writer methods in order and
thereby write the attributes to the new output stream.
Parameters:
-
attributes - a
Vector
object containing the attributes of
the UDT to be mapped to one or more objects in the Java
programming language
-
map - a
java.util.Map
object containing zero or
more entries, with each entry consisting of 1) a
String
giving the fully qualified name of a UDT and 2) the
Class
object for the
SQLData
implementation
that defines how the UDT is to be mapped
Throws:
-
SQLException - if the
attributes
or the
map
is a
null
value