Name

Ref

Synopsis

Interface Name: java.sql.Ref

Superclass: None

Immediate Subclasses: None

Interfaces Implemented: None

Availability: New as of JDK 1.2

Description

A Ref is a reference to a value of a SQL structured type in the database. You can dereference a Ref by passing it as a parameter to a SQL statement and executing the statement.

Class Summary

public interface Ref {
    String getBaseTypeName( ) throws SQLException;
}

Object Methods

getBaseTypeName( )

public String getBaseTypeName( ) throws SQLException
Description

This method provides the SQL structured type name for the referenced item.

Get Database Programming with JDBC & Java, 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.