数据库sqlserver2000
package bean;
public class PurviewinfoBean {
private Long id;
private String employeeid;
private String employeename;
private String employeepassword;
private String purview;
public PurviewinfoBean() {
super();
}
public static void main(String[] args) {
PurviewinfoBean purviewinfoBean = new PurviewinfoBean();
}
public void setId(Long id) {
this.id = id;
}
public void setEmployeeid(String employeeid) {
this.employeeid = employeeid;
}
public void setEmployeename(String employeename) {
this.employeename = employeename;
}
public void setEmployeepassword(String employeepassword) {
this.employeepassword = employeepassword;
}
public void setPurview(String purview) {
this.purview = purview;
}
public Long getId() {
return id;
}
public String getEmployeeid() {
return employeeid;
}
public String getEmployeename() {
return employeename;
}
public String getEmployeepassword() {
return employeepassword;
}
public String getPurview() {
return purview;
}
}
package table;
import database.parent.HibernateBase;
import net.sf.hibernate.HibernateException;
import net.sf.hibernate.Query;
import java.util.Iterator;
import bean.PurviewinfoBean;
public class Purviewinfo extends HibernateBase{
public Purviewinfo() throws HibernateException {
super();