0
<one-to-one name="employee" class="com.test.study.model.employee"
cascade="save-update"> </one-to-one>
我在想:這是什麼等效的休眠註釋?
OneToOne(fetch = FetchType.LAZY, mappedBy = "com.test.study.model.employee", cascade = CascadeType.All)
但後來,我做同樣的事情在其他表呢?