Name

Struct

Synopsis

The Struct interface provides a mapping for an SQL structured type. The getAttributes() method returns an array of objects representing each attribute in the structured type. Custom type maps can be specified by including a java.util.Map attribute.

public interface Struct {
// Public Instance Methods
   public abstract Object[] getAttributes(
        ) throws SQLException;  
   public abstract Object[] getAttributes(
        java.util.Map map) throws SQLException;  
   public abstract String getSQLTypeName(
        ) throws SQLException;  
}

Passed To

SQLOutput.writeStruct()

Get Java Enterprise in a Nutshell, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.