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

源代码在线查看: person.java

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

相关代码

				// $Id: Person.java,v 1.1 2005/02/24 20:08:04 steveebersole Exp $				package org.hibernate.test.subclassfilter;								/**				 * Implementation of Person.				 *				 * @author Steve Ebersole				 */				public class Person {					private Long id;					private String name;					private String company;					private String region;									public Person() {					}									public Person(String name) {						this.name = name;					}									public Long getId() {						return id;					}									public void setId(Long id) {						this.id = id;					}									public String getName() {						return name;					}									public void setName(String name) {						this.name = name;					}									public String getCompany() {						return company;					}									public void setCompany(String company) {						this.company = company;					}									public String getRegion() {						return region;					}									public void setRegion(String region) {						this.region = region;					}				}							

相关资源