Contents | Package | Class | Tree | Deprecated | Index | Help Java 1.2 Beta 3
PREV | NEXT SHOW LISTS | HIDE LISTS

Interface java.sql.Ref


public interface Ref
JDBC 2.0 A Ref is a reference to an SQL structured value in the database. A Ref can be saved to persistent storage.


Method Summary
SQLType  getBaseType()
 
Object  getObject()
Materialize the referenced item (by selecting it from the table "scope" where it is stored in the database).
Object  getObject(Map map)
Materialize the referenced item (by selecting it from the table "scope" where it is stored in the database).
 

Method Detail

getBaseType

public SQLType getBaseType()
Returns:
a descriptor representing the Structured Type of the referenced item.

getObject

public Object getObject()
Materialize the referenced item (by selecting it from the table "scope" where it is stored in the database).
Returns:
an object representing the referenced SQL item

getObject

public Object getObject(Map map)
Materialize the referenced item (by selecting it from the table "scope" where it is stored in the database).
Parameters:
map - contains mapping of SQL user-defined type names to classes.
Returns:
an object representing the referenced SQL item

Contents | Package | Class | Tree | Deprecated | Index | Help Java 1.2 Beta 3
PREV | NEXT SHOW LISTS | HIDE LISTS

Submit a bug or feature
Submit comments/suggestions about new javadoc look.
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1998 Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto, California, 94303, U.S.A. All Rights Reserved.