Hibernate基礎-刪除一條數據

根據id把對象從表裏刪除掉  注意:hibernate在刪除一條數據以前,先要經過id把這條記錄取出來 刪除一條數據 import org.hibernate.Session; import org.hibernate.SessionFactory; import org.hibernate.cfg.Configuration; import com.how2java.pojo.Product
相關文章
相關標籤/搜索