1 22 package org.jboss.resource.adapter.jdbc.remote; 23 24 import java.io.Serializable ; 25 import java.sql.ParameterMetaData ; 26 import java.sql.SQLException ; 27 28 32 public class SerializableParameterMetaData implements ParameterMetaData , Serializable 33 { 34 35 static final long serialVersionUID = -6601828413479683906L; 36 int parameterCount = 0; 37 38 public SerializableParameterMetaData(ParameterMetaData pMetaData) throws SQLException 39 { 40 this.parameterCount = pMetaData.getParameterCount(); 41 } 42 43 52 public int getParameterCount() throws SQLException 53 { 54 return parameterCount; 55 } 56 57 69 public int getParameterMode(int param) throws SQLException 70 { 71 return 0; 72 } 73 74 83 public int getParameterType(int param) throws SQLException 84 { 85 return 0; 86 } 87 88 96 public int getPrecision(int param) throws SQLException 97 { 98 return 0; 99 } 100 101 109 public int getScale(int param) throws SQLException 110 { 111 return 0; 112 } 113 114 125 public int isNullable(int param) throws SQLException 126 { 127 return 0; 128 } 129 130 138 public boolean isSigned(int param) throws SQLException 139 { 140 return false; 141 } 142 143 156 public String getParameterClassName(int param) throws SQLException 157 { 158 return null; 159 } 160 161 170 public String getParameterTypeName(int param) throws SQLException 171 { 172 return null; 173 } 174 } 175 176 177 | Popular Tags |