hibernate总结
1. configuration对象, buildSessionFactory.
2. openSession, getCurrentSession
3. session管理数据库的任务单元
4. get和load的区别
5. update, 一般使用HQL
6. saveorupdate, clear, flush
1. configuration对象, buildSessionFactory.
2. openSession, getCurrentSession
3. session管理数据库的任务单元
4. get和load的区别
5. update, 一般使用HQL
6. saveorupdate, clear, flush