01: /*-------------------------------------------------------------------------
02: *
03: * Copyright (c) 2003-2005, PostgreSQL Global Development Group
04: *
05: * IDENTIFICATION
06: * $PostgreSQL: pgjdbc/org/postgresql/PGRefCursorResultSet.java,v 1.7 2005/01/17 09:51:40 jurka Exp $
07: *
08: *-------------------------------------------------------------------------
09: */
10: package org.postgresql;
11:
12: /**
13: * A ref cursor based result set.
14: *
15: * @deprecated As of 8.0, this interface is only present for backwards-
16: * compatibility purposes. New code should call getString() on the ResultSet
17: * that contains the refcursor to obtain the underlying cursor name.
18: */
19: public interface PGRefCursorResultSet {
20:
21: /** @return the name of the cursor.
22: * @deprecated As of 8.0, replaced with calling getString() on
23: * the ResultSet that this ResultSet was obtained from.
24: */
25: public String getRefCursor();
26: }
|