Hi List,

I have, apart from my the mails fromearlier today and yesterday, a beginner's question about the "Session". Is, in working with a JCR, the "Session" = a "Connection" object, like JDO's PersistenceMgr, and Hibernate's Session?

If so, am I right in making these parallel assumptions from JDO:
1/ You don't need a Session object to boot (init, configure) a Repository, one only needs to configure a SessionFactory.

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.

3/ The Session joins the Transaction, typically started at the JCR service level (floating above the DAO level)

Thx for help,
Wolf

Reply via email to