1. /*
  2. * @(#)Ref.java 1.10 01/11/29
  3. *
  4. * Copyright 2002 Sun Microsystems, Inc. All rights reserved.
  5. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
  6. */
  7. package java.sql;
  8. /**
  9. * JDBC 2.0
  10. *
  11. * A reference to an SQL structured type value in the database. A
  12. * Ref can be saved to persistent storage. A Ref is dereferenced by
  13. * passing it as a parameter to an SQL statement and executing the
  14. * statement.
  15. */
  16. public interface Ref {
  17. /**
  18. * Gets the fully-qualified SQL structured type name of the
  19. * referenced item.
  20. *
  21. * @return fully-qualified SQL structured type name of the referenced item.
  22. * @exception SQLException if a database access error occurs
  23. */
  24. String getBaseTypeName() throws SQLException;
  25. }