文件名称:十Hibernate简单实例-hibernate框架详解
文件大小:4.94MB
文件格式:PPT
更新时间:2024-05-16 03:14:09
hibernate
十五、Hibernate简单实例 三、建立持久化类 package com.cn; import java.util.Date; public class Stu { private Integer id; private String xm; private String sex; private Date sr; public Integer getId() { return id; } public void setId(Integer id) { this.id = id; } public String getXm() { return xm; } public void setXm(String xm) { this.xm = xm; } public String getSex() { return sex; } public void setSex(String sex) { this.sex = sex; } public Date getSr() { return sr; } public void setSr(Date sr) { this.sr = sr; } }