Hi, On 1/12/07, Wolf Benz <[EMAIL PROTECTED]> wrote:
Is, in working with a JCR, the "Session" = a "Connection" object, like JDO's PersistenceMgr, and Hibernate's Session?
Yes, the essential semantics are the same.
1/ You don't need a Session object to boot (init, configure) a Repository, one only needs to configure a SessionFactory.
Correct.
2/ You don't need to tie a Session to a User. Instead, you'd typically want to tie a Session to a DAO-unit-of-work.
This depend's on your needs. The essential considerations when mapping sessions to users are access controls and the visibility of transient changes.
3/ The Session joins the Transaction, typically started at the JCR service level (floating above the DAO level)
Yes. BR, Jukka Zitting
