hibernate的核心类是什么,它们的相互关系是什么?重要的方法是什么?

2014-11-09 23:15:04 · 作者: · 浏览: 23

Configuration
SessionFactory
Session如下方法
Save
load
Update
Delete
Query q=CreateQuery(“from Customer where customerName=:customerName”)
beginTransaction
close
Transaction
Commit()