O'Reilly logo

Database Programming with JDBC & Java, Second Edition by George Reese

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required