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

源代码在线查看: child.java

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

相关代码

				//$Id: Child.java,v 1.1 2005/03/17 05:56:00 oneovthafew Exp $
				package org.hibernate.test.subselectfetch;
				
				import java.util.List;
				
				/**
				 * @author Gavin King
				 */
				public class Child {
					private String name;
					private List friends;
				
					Child() {}
					public Child(String name) {
						this.name = name;
					}
				
					public String getName() {
						return name;
					}
					
					public void setName(String name) {
						this.name = name;
					}
					public List getFriends() {
						return friends;
					}
					
					public void setFriends(List friends) {
						this.friends = friends;
					}
					
					
				}
							

相关资源