ResultRow是什么东西?呵呵,能不能贴完整点?
解决方案 »
- must be of type [org.aopalliance.aop.Advice]错误问题
- 启动WebLogic被管节点报错
- js问题
- 下面这个程序在编译的时候没问题,运行的时候出现空指针异常,请大家帮忙找找出现异常的原因。
- 求个struts用户管理方案
- jsp接受表单,页面出现乱码
- JAVA高级开发工程师
- jsp的bean用dom写xml javax.xml.transform.TransformerException:
- ejb sessionbean deploy错误求助,在线等待。。。。。
- 大佬们这是什么错
- 有朋友用xDoclet生成hbm.xml文件吗?
- Servlet程序出现的问题,提示少')',但实在找不出问题所在
//Source file: C:\\Rose2Java\\zhsoft\\dbcon\\ResultRow.javapackage zhsoft.dbcon;import java.util.Hashtable;/**
* 结果行
*
* @author 雨亦奇([email protected])
* @version 1.0
* @since 2003.05.18
*/
public class ResultRow extends Hashtable
{ /**
* @roseuid 3ED868800369
*/
public ResultRow()
{ } /**
* 根据字段名取其值
*
* @param columnName
* - 字段名
* @return String
* @throws java.lang.Exception
* @roseuid 3ED75EE9008B
*/
public String getValue(String columnName) throws Exception
{
if (columnName == null || columnName.equals("")) {
throw new Exception("字段名不能为空");
}
Object o = this.get(columnName);
if (o == null) {
throw new Exception("无此字段名: " + columnName);
}
return (String) o;
}
}