Package | Description |
---|---|
java.sql |
Provides the API for accessing and processing data stored in a
data source (usually a relational database) using the
JavaTM programming language.
|
javax.sql.rowset.serial |
Provides utility classes to allow serializable mappings between SQL types
and data types in the Java programming language.
|
Modifier and Type | Method and Description |
---|---|
Struct |
Connection.createStruct(String typeName,
Object[] attributes)
Factory method for creating Struct objects.
|
Modifier and Type | Method and Description |
---|---|
void |
SQLOutput.writeStruct(Struct x)
Writes an SQL structured type value to the stream.
|
Modifier and Type | Class and Description |
---|---|
class |
SerialStruct
A serialized mapping in the Java programming language of an SQL
structured type.
|
Modifier and Type | Method and Description |
---|---|
void |
SQLOutputImpl.writeStruct(Struct x)
Writes a
Struct object in the Java
programming language to this SQLOutputImpl
object. |
Constructor and Description |
---|
SerialStruct(Struct in,
Map<String,Class<?>> map)
Constructs a
SerialStruct object from the given
Struct object, using the given java.util.Map
object for custom mapping the SQL structured type or any of its
attributes that are SQL structured types. |
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2024, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.