?? withlazyset.java
字號:
/* * Created on Sep 20, 2004 * * To change the template for this generated file go to * Window - Preferences - Java - Code Generation - Code and Comments */package tutorial.dev.lazy;import java.util.Set;/** * @hibernate.class */public class WithLazySet { private Long id; private Set lazy; /** * @hibernate.id * column="ID" * generator-class="hilo" * unsaved-value="null" */ public Long getId() {return id;} public void setId(Long id) {this.id = id;} /** * @hibernate.set * cascade="save-update" * lazy="true" * @hibernate.collection-one-to-many * class="tutorial.dev.lazy.InLazySet" * @hibernate.collection-key * column="FK_LAZY" */ public Set getLazy() { return lazy; } public void setLazy(Set lazy) { this.lazy = lazy; }}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -