Uses of Interface
java.sql.Struct
Packages that use Struct
Package
Description
Provides the API for accessing and processing data stored in a
data source (usually a relational database) using the
Java programming language.
Provides utility classes to allow serializable mappings between SQL types
and data types in the Java programming language.
-
Uses of Struct in java.sql
Modifier and TypeMethodDescriptionConnection.createStruct(String typeName, Object[] attributes)Factory method for creating Struct objects.Modifier and TypeMethodDescriptionvoidSQLOutput.writeStruct(Struct x)Writes an SQL structured type value to the stream. -
Uses of Struct in javax.sql.rowset.serial
Classes in javax.sql.rowset.serial that implement StructModifier and TypeClassDescriptionclassA serialized mapping in the Java programming language of an SQL structured type.Methods in javax.sql.rowset.serial with parameters of type StructModifier and TypeMethodDescriptionvoidSQLOutputImpl.writeStruct(Struct x)Writes aStructobject in the Java programming language to thisSQLOutputImplobject.Constructors in javax.sql.rowset.serial with parameters of type StructModifierConstructorDescriptionSerialStruct(Struct in, Map<String,Class<?>> map)Constructs aSerialStructobject from the givenStructobject, using the givenjava.util.Mapobject for custom mapping the SQL structured type or any of its attributes that are SQL structured types.
Report a bug or suggest an enhancement
For further API reference and developer documentation see the Java SE Documentation, which contains more detailed, developer-targeted descriptions with conceptual overviews, definitions of terms, workarounds, and working code examples. Other versions.
Java is a trademark or registered trademark of Oracle and/or its affiliates in the US and other countries.
Copyright © 1993, 2025, Oracle and/or its affiliates, 500 Oracle Parkway, Redwood Shores, CA 94065 USA.
All rights reserved. Use is subject to license terms and the documentation redistribution policy.