Your browser does not support JavaScript and this site utilizes JavaScript to build content and provide links to additional information. You should either enable JavaScript in your browser settings or use a browser that supports JavaScript in order to take full advantage of this site.
1 7 package com.nilostep.xlsql.jdbc; 8 9 import java.sql.*; 10 11 12 public class xlParameterMetaData implements ParameterMetaData { 13 private xlPreparedStatement xlPstm; 14 private ParameterMetaData dbPsMeta; 15 16 18 19 protected xlParameterMetaData(xlPreparedStatement pstm, 20 ParameterMetaData psmeta) { 21 xlPstm = pstm; 22 dbPsMeta = psmeta; 23 } 24 25 27 31 public String getParameterClassName(int param) throws SQLException { 32 return dbPsMeta.getParameterClassName(param); 33 } 34 35 39 public int getParameterCount() throws SQLException { 40 return dbPsMeta.getParameterCount(); 41 } 42 43 47 public int getParameterMode(int param) throws SQLException { 48 return dbPsMeta.getParameterCount(); 49 } 50 51 55 public int getParameterType(int param) throws SQLException { 56 return dbPsMeta.getParameterType(param); 57 } 58 59 63 public String getParameterTypeName(int param) throws SQLException { 64 return dbPsMeta.getParameterTypeName(param); 65 } 66 67 71 public int getPrecision(int param) throws SQLException { 72 return dbPsMeta.getPrecision(param); 73 } 74 75 79 public int getScale(int param) throws SQLException { 80 return dbPsMeta.getScale(param); 81 } 82 83 87 public int isNullable(int param) throws SQLException { 88 return dbPsMeta.isNullable(param); 89 } 90 91 95 public boolean isSigned(int param) throws SQLException { 96 return dbPsMeta.isSigned(param); 97 } 98 }
| Popular Tags
|