// Path: Server/src/com/hufeiya/entity/StudentSheet.java
// public class StudentSheet implements java.io.Serializable {
// 
// 	// Fields
// 
// 	private Integer sheetId;
// 	private User user;
// 	private String sheetName;
// 	private Set students = new HashSet(0);
// 
// 	// Constructors
// 
// 	/** default constructor */
// 	public StudentSheet() {
// 	}
// 
// 	/** minimal constructor */
// 	public StudentSheet(User user, String sheetName) {
// 		this.user = user;
// 		this.sheetName = sheetName;
// 	}
// 
// 	/** full constructor */
// 	public StudentSheet(User user, String sheetName, Set students) {
// 		this.user = user;
// 		this.sheetName = sheetName;
// 		this.students = students;
// 	}
// 
// 	// Property accessors
// 
// 	public Integer getSheetId() {
// 		return this.sheetId;
// 	}
// 
// 	public void setSheetId(Integer sheetId) {
// 		this.sheetId = sheetId;
// 	}
// 
// 	public User getUser() {
// 		return this.user;
// 	}
// 
// 	public void setUser(User user) {
// 		this.user = user;
// 	}
// 
// 	public String getSheetName() {
// 		return this.sheetName;
// 	}
// 
// 	public void setSheetName(String sheetName) {
// 		this.sheetName = sheetName;
// 	}
// 
// 	public Set getStudents() {
// 		return this.students;
// 	}
// 
// 	public void setStudents(Set students) {
// 		this.students = students;
// 	}
// 
// }


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.StudentSheet;
package com.hufeiya.DAO;




/**
 * A data access object (DAO) providing persistence and search support for
 * StudentSheet 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.StudentSheet
 * @author MyEclipse Persistence Tools
 */
public class StudentSheetDAO extends BaseHibernateDAO {
	private static final Logger log = LoggerFactory
			.getLogger(StudentSheetDAO.class);
	// property constants
	public static final String SHEET_NAME = "sheetName";

// Path: Server/src/com/hufeiya/entity/StudentSheet.java
// public class StudentSheet implements java.io.Serializable {
// 
// 	// Fields
// 
// 	private Integer sheetId;
// 	private User user;
// 	private String sheetName;
// 	private Set students = new HashSet(0);
// 
// 	// Constructors
// 
// 	/** default constructor */
// 	public StudentSheet() {
// 	}
// 
// 	/** minimal constructor */
// 	public StudentSheet(User user, String sheetName) {
// 		this.user = user;
// 		this.sheetName = sheetName;
// 	}
// 
// 	/** full constructor */
// 	public StudentSheet(User user, String sheetName, Set students) {
// 		this.user = user;
// 		this.sheetName = sheetName;
// 		this.students = students;
// 	}
// 
// 	// Property accessors
// 
// 	public Integer getSheetId() {
// 		return this.sheetId;
// 	}
// 
// 	public void setSheetId(Integer sheetId) {
// 		this.sheetId = sheetId;
// 	}
// 
// 	public User getUser() {
// 		return this.user;
// 	}
// 
// 	public void setUser(User user) {
// 		this.user = user;
// 	}
// 
// 	public String getSheetName() {
// 		return this.sheetName;
// 	}
// 
// 	public void setSheetName(String sheetName) {
// 		this.sheetName = sheetName;
// 	}
// 
// 	public Set getStudents() {
// 		return this.students;
// 	}
// 
// 	public void setStudents(Set students) {
// 		this.students = students;
// 	}
// 
// }


// Path: Server/src/com/hufeiya/DAO/StudentSheetDAO.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.StudentSheet;

package com.hufeiya.DAO;




/**
 * A data access object (DAO) providing persistence and search support for
 * StudentSheet 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.StudentSheet
 * @author MyEclipse Persistence Tools
 */
public class StudentSheetDAO extends BaseHibernateDAO {
	private static final Logger log = LoggerFactory
			.getLogger(StudentSheetDAO.class);
	// property constants
	public static final String SHEET_NAME = "sheetName";

	public void save(StudentSheet transientInstance) {