/[classpath]/classpath/java/sql/ParameterMetaData.java
ViewVC logotype

Diff of /classpath/java/sql/ParameterMetaData.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by bryce, Fri Jun 21 05:34:12 2002 UTC revision 1.2 by mkoch, Sun Oct 12 16:38:16 2003 UTC
# Line 40  package java.sql; Line 40  package java.sql;
40  /**  /**
41   * @since 1.4   * @since 1.4
42   */   */
43  public interface ParameterMetaData  interface ParameterMetaData
44  {  {
45    public static final int parameterNoNulls = 0;    int parameterNoNulls = 0;
46    
47    public static final int parameterNullable = 1;    int parameterNullable = 1;
48    
49    public static final int parameterNullableUnknown = 2;    int parameterNullableUnknown = 2;
50    
51    public static final int parameterModeUnknown = 0;    int parameterModeUnknown = 0;
52    
53    public static final int parameterModeIn = 1;    int parameterModeIn = 1;
54    
55    public static final int parameterModeInOut = 2;    int parameterModeInOut = 2;
56    
57    public static final int parameterModeOut = 4;    int parameterModeOut = 4;
58    
59    /**    /**
60     * @since 1.4     * @since 1.4
61     */     */
62    public int getParameterCount() throws SQLException;    int getParameterCount() throws SQLException;
63    
64    /**    /**
65     * @since 1.4     * @since 1.4
66     */     */
67    public int isNullable(int param) throws SQLException;    int isNullable(int param) throws SQLException;
68    
69    /**    /**
70     * @since 1.4     * @since 1.4
71     */     */
72    public boolean isSigned(int param) throws SQLException;    boolean isSigned(int param) throws SQLException;
73    
74    /**    /**
75     * @since 1.4     * @since 1.4
76     */     */
77    public int getPrecision(int param) throws SQLException;    int getPrecision(int param) throws SQLException;
78    
79    /**    /**
80     * @since 1.4     * @since 1.4
81     */     */
82    public int getScale(int param) throws SQLException;    int getScale(int param) throws SQLException;
83    
84    /**    /**
85     * @since 1.4     * @since 1.4
86     */     */
87    public int getParameterType(int param) throws SQLException;    int getParameterType(int param) throws SQLException;
88    
89    /**    /**
90     * @since 1.4     * @since 1.4
91     */     */
92    public String getParameterTypeName(int param) throws SQLException;    String getParameterTypeName(int param) throws SQLException;
93    
94    /**    /**
95     * @since 1.4     * @since 1.4
96     */     */
97    public String getParameterClassName(int param) throws SQLException;    String getParameterClassName(int param) throws SQLException;
98    
99    /**    /**
100     * @since 1.4     * @since 1.4
101     */     */
102    public int getParameterMode(int param) throws SQLException;    int getParameterMode(int param) throws SQLException;
103  }  }

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26