我定义了一个VO(myCustomer)里面有属性
private byte isMarried;
private String description;
private String image;
private Date birthday;
private String registeredTime;
其对应的SQL类型isMarried为bit,image为image,birthday为datetime,registeredTime为timestamp(8)。
myCustomer.setXXX().我把这几个属性设值,括号里该怎么写。。
谢谢了
private byte isMarried;
private String description;
private String image;
private Date birthday;
private String registeredTime;
其对应的SQL类型isMarried为bit,image为image,birthday为datetime,registeredTime为timestamp(8)。
myCustomer.setXXX().我把这几个属性设值,括号里该怎么写。。
谢谢了
解决方案 »
- Unable to load bean: type: class:com.opensymphony.xwork2.ObjectFactory
- struts通过oracle数据库验证的登陆怎么写啊
- 数据库连接池的疑问
- JSP出错 HTTP Status 500 -
- 紧急求助:关于JSF标签的问题
- struts2 s:file
- Struts的<logic:iterate>只能显示formBean中的数据,不能把数据提交到formBean中?
- 请问org.apache.commons.net.tftp包在哪下载?
- 第一次用maven创建项目,运行mvn compile报错
- org.springframework.beans.factory.CannotLoadBeanClassException 问题怎么解决
- 服务定位器的问题?
- struts+hibernate空指针问题
对于每个属性设置相应的setter和getter方法
还有无参构造函数,因为加载是会使用