![]() ![]() | ![]() |
version 1.30, 2004/08/04 11:53:08 | version 1.31, 2004/08/09 11:36:18 |
---|---|
Line 1576 public class DBBean | Line 1576 public class DBBean |
} | } |
} | } |
/** | |
* @param indexField | |
*/ | |
public String getColumnType(String indexField) throws SQLException | |
{ | |
Vector names=getColumnNames(); | |
for (int i = 0; i < names.size(); i++) | |
{ | |
if(names.get(i).toString().equals(indexField)) | |
{ | |
System .out.println("found field "+names.get(i)+" "+metaData.getColumnTypeName(i+1)); | |
return metaData.getColumnTypeName(i+1); | |
} | |
} | |
return ""; | |
} | |
} | } |