hibernate3.2.6源码和jar包

源代码在线查看: b.java

软件大小: 3551 K
上传用户: wlflove123
关键词: hibernate jar 源码
下载地址: 免注册下载 普通下载 VIP

相关代码

				//$Id$				package org.hibernate.test.annotations.join;								import javax.persistence.Column;				import javax.persistence.Entity;				import javax.persistence.Id;				import javax.persistence.GeneratedValue;				import javax.persistence.Inheritance;				import javax.persistence.InheritanceType;								/**				 * @author Emmanuel Bernard				 */				@Entity				@Inheritance( strategy = InheritanceType.SINGLE_TABLE )				public abstract class B extends A {					@Id					@GeneratedValue					private Integer id;					@Column(nullable = false) private String name;													public Integer getId() {						return id;					}									public void setId(Integer id) {						this.id = id;					}									public String getName() {						return name;					}									public void setName(String name) {						this.name = name;					}				}							

相关资源