介绍了hibernate的入门有一些基本常用的事例

源代码在线查看: employee.java

软件大小: 17462 K
上传用户: qingmei_changle
关键词: hibernate
下载地址: 免注册下载 普通下载 VIP

相关代码

				//$Id: Employee.java,v 1.1 2004/12/19 22:01:24 maxcsaucdk Exp $				package org.hibernate.test.extendshbm;								import java.math.BigDecimal;								/**				 * @author Gavin King				 */				public class Employee extends Person {					private String title;					private BigDecimal salary;					private Employee manager;					/**					 * @return Returns the title.					 */					public String getTitle() {						return title;					}					/**					 * @param title The title to set.					 */					public void setTitle(String title) {						this.title = title;					}					/**					 * @return Returns the manager.					 */					public Employee getManager() {						return manager;					}					/**					 * @param manager The manager to set.					 */					public void setManager(Employee manager) {						this.manager = manager;					}					/**					 * @return Returns the salary.					 */					public BigDecimal getSalary() {						return salary;					}					/**					 * @param salary The salary to set.					 */					public void setSalary(BigDecimal salary) {						this.salary = salary;					}				}							

相关资源