jackrabbit-oak-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Dürig (Commented) (JIRA) <j...@apache.org>
Subject [jira] [Commented] (OAK-49) Session.getRepository() should return the object through which the Session was acquired
Date Thu, 05 Apr 2012 11:17:27 GMT

    [ https://issues.apache.org/jira/browse/OAK-49?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13247148#comment-13247148
] 

Michael Dürig commented on OAK-49:
----------------------------------

I think we should remove the RepositoryAdaptor class and use a session independent value factory
for creating the descriptor values.
                
> Session.getRepository() should return the object through which the Session was acquired
> ---------------------------------------------------------------------------------------
>
>                 Key: OAK-49
>                 URL: https://issues.apache.org/jira/browse/OAK-49
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>            Reporter: Michael Dürig
>            Priority: Minor
>
> Currently we have 
> {code}
>     repository.login().getRepository() != repository
> {code}
> which according to JSR 283 is not correct: "The Repository object through which a Session
was acquired is retrieved with Session.getRepository()" [1].
> [1] http://www.day.com/specs/jcr/2.0/4_Connecting.html#4.4.3%20Session%20to%20Repository

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

Mime
View raw message