Monday, January 09, 2006

Hibernate StatelessSession

พึ่งรู้ว่าใน Hibernate version 3 มี StatelessSession ให้ใช้

Operations performed via a stateless session bypass Hibernate's event model and interceptors.
...
A stateless session is a lower-level abstraction, much closer to the underlying JDBC.

เหมาะอย่างยิ่งกับ bulk operations

Related link from Roti

No comments: