// Path: Server/src/com/hufeiya/entity/Student.java
// public class Student implements java.io.Serializable {
// 
// 	// Fields
// 
// 	private Integer sid;
// 	private StudentSheet studentSheet;
// 	private String clientId;
// 	private String studentName;
// 	private String studentNo;
// 	private String className;
// 	private Set signInfos = new HashSet(0);
// 
// 	// Constructors
// 
// 	/** default constructor */
// 	public Student() {
// 	}
// 
// 	/** full constructor */
// 	public Student(StudentSheet studentSheet, String clientId,
// 			String studentName, String studentNo, String className,
// 			Set signInfos) {
// 		this.studentSheet = studentSheet;
// 		this.clientId = clientId;
// 		this.studentName = studentName;
// 		this.studentNo = studentNo;
// 		this.className = className;
// 		this.signInfos = signInfos;
// 	}
// 
// 	// Property accessors
// 
// 	public Integer getSid() {
// 		return this.sid;
// 	}
// 
// 	public void setSid(Integer sid) {
// 		this.sid = sid;
// 	}
// 
// 	public StudentSheet getStudentSheet() {
// 		return this.studentSheet;
// 	}
// 
// 	public void setStudentSheet(StudentSheet studentSheet) {
// 		this.studentSheet = studentSheet;
// 	}
// 
// 	public String getClientId() {
// 		return this.clientId;
// 	}
// 
// 	public void setClientId(String clientId) {
// 		this.clientId = clientId;
// 	}
// 
// 	public String getStudentName() {
// 		return this.studentName;
// 	}
// 
// 	public void setStudentName(String studentName) {
// 		this.studentName = studentName;
// 	}
// 
// 	public String getStudentNo() {
// 		return this.studentNo;
// 	}
// 
// 	public void setStudentNo(String studentNo) {
// 		this.studentNo = studentNo;
// 	}
// 
// 	public String getClassName() {
// 		return this.className;
// 	}
// 
// 	public void setClassName(String className) {
// 		this.className = className;
// 	}
// 
// 	public Set getSignInfos() {
// 		return this.signInfos;
// 	}
// 
// 	public void setSignInfos(Set signInfos) {
// 		this.signInfos = signInfos;
// 	}
// 
// }


import java.util.List;
import java.util.Set;
import org.hibernate.LockOptions;
import org.hibernate.Query;
import org.hibernate.criterion.Example;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.hufeiya.entity.Student;
package com.hufeiya.DAO;




/**
 * A data access object (DAO) providing persistence and search support for
 * Student entities. Transaction control of the save(), update() and delete()
 * operations can directly support Spring container-managed transactions or they
 * can be augmented to handle user-managed Spring transactions. Each of these
 * methods provides additional information for how to configure it for the
 * desired type of transaction control.
 * 
 * @see com.hufeiya.DAO.Student
 * @author MyEclipse Persistence Tools
 */
public class StudentDAO extends BaseHibernateDAO {
	private static final Logger log = LoggerFactory.getLogger(StudentDAO.class);
	// property constants
	public static final String CLIENT_ID = "clientId";
	public static final String STUDENT_NAME = "studentName";
	public static final String STUDENT_NO = "studentNo";
	public static final String CLASS_NAME = "className";

// Path: Server/src/com/hufeiya/entity/Student.java
// public class Student implements java.io.Serializable {
// 
// 	// Fields
// 
// 	private Integer sid;
// 	private StudentSheet studentSheet;
// 	private String clientId;
// 	private String studentName;
// 	private String studentNo;
// 	private String className;
// 	private Set signInfos = new HashSet(0);
// 
// 	// Constructors
// 
// 	/** default constructor */
// 	public Student() {
// 	}
// 
// 	/** full constructor */
// 	public Student(StudentSheet studentSheet, String clientId,
// 			String studentName, String studentNo, String className,
// 			Set signInfos) {
// 		this.studentSheet = studentSheet;
// 		this.clientId = clientId;
// 		this.studentName = studentName;
// 		this.studentNo = studentNo;
// 		this.className = className;
// 		this.signInfos = signInfos;
// 	}
// 
// 	// Property accessors
// 
// 	public Integer getSid() {
// 		return this.sid;
// 	}
// 
// 	public void setSid(Integer sid) {
// 		this.sid = sid;
// 	}
// 
// 	public StudentSheet getStudentSheet() {
// 		return this.studentSheet;
// 	}
// 
// 	public void setStudentSheet(StudentSheet studentSheet) {
// 		this.studentSheet = studentSheet;
// 	}
// 
// 	public String getClientId() {
// 		return this.clientId;
// 	}
// 
// 	public void setClientId(String clientId) {
// 		this.clientId = clientId;
// 	}
// 
// 	public String getStudentName() {
// 		return this.studentName;
// 	}
// 
// 	public void setStudentName(String studentName) {
// 		this.studentName = studentName;
// 	}
// 
// 	public String getStudentNo() {
// 		return this.studentNo;
// 	}
// 
// 	public void setStudentNo(String studentNo) {
// 		this.studentNo = studentNo;
// 	}
// 
// 	public String getClassName() {
// 		return this.className;
// 	}
// 
// 	public void setClassName(String className) {
// 		this.className = className;
// 	}
// 
// 	public Set getSignInfos() {
// 		return this.signInfos;
// 	}
// 
// 	public void setSignInfos(Set signInfos) {
// 		this.signInfos = signInfos;
// 	}
// 
// }


// Path: Server/src/com/hufeiya/DAO/StudentDAO.java
import java.util.List;
import java.util.Set;
import org.hibernate.LockOptions;
import org.hibernate.Query;
import org.hibernate.criterion.Example;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.hufeiya.entity.Student;

package com.hufeiya.DAO;




/**
 * A data access object (DAO) providing persistence and search support for
 * Student entities. Transaction control of the save(), update() and delete()
 * operations can directly support Spring container-managed transactions or they
 * can be augmented to handle user-managed Spring transactions. Each of these
 * methods provides additional information for how to configure it for the
 * desired type of transaction control.
 * 
 * @see com.hufeiya.DAO.Student
 * @author MyEclipse Persistence Tools
 */
public class StudentDAO extends BaseHibernateDAO {
	private static final Logger log = LoggerFactory.getLogger(StudentDAO.class);
	// property constants
	public static final String CLIENT_ID = "clientId";
	public static final String STUDENT_NAME = "studentName";
	public static final String STUDENT_NO = "studentNo";
	public static final String CLASS_NAME = "className";

	public void save(Student transientInstance) {