public void setTime(Timestamp newValue)
{
this.time = newValue;
}
这样不行吗?
{
this.time = newValue;
}
这样不行吗?
解决方案 »
- 发现一个 用<input type="hidden" name="action" value="方法名"> 传送方法名失败的例子
- hibernate新手提问@OneToOne标签的问题
- Hibenate many-to-one 甄选条件
- 学习struts最快需要多长时间?有好的开发工具么?
- 这样做行得通吗?关键字:URLConnection,aspx
- 不知道为什么myeclipse创建工程报错
- 一个webwork的问题
- 新手问题,请大家帮帮啊!! 急!!
- 请教大虾~:)在cmp中如果一个表有两个外键,添加纪录时应如何处理?
- 关于Struts的一个部署的问题
- 很简单的问题,大家帮小弟看看,这个问题出在哪里!!!谢谢!!!
- JBOSS 3.0.6环境下CMP模式EJB-QL是否支持like语法?
import java.sql.Timestamp;public class Log {
public int getLogId() { return logId; }
public void setLogId(int logId) { this.logId = logId; }
public Timestamp getLogTime() { return logTime; }
public void setLogTime(Timestamp logTime) { this.logTime = logTime; }
public int getUserId() { return userId; }
public void setUserId(int userId) { this.userId = userId; }
public String getName() { return name;}
public void setName(String name) { this.name = name; }
public String getAccount() { return account; }
public void setAccount(String account) { this.account = account; }
public int getOpType() { return opType; }
public void setOpType(int opType) { this.opType = opType; }
public int getObjType() { return objType; }
public void setObjType(int objType) { this.objType = objType; }
public String getLogDescr() { return logDescr; }
public void setLogDescr(String logDescr) { this.logDescr = logDescr; } private int logId;
private Timestamp logTime;
private int userId;
private String account;
private String name;
private int opType;
private int objType;
private String logDescr;
}