[ 
https://issues.apache.org/jira/browse/JCR-1050?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12520309
 ] 

Padraic Hannon commented on JCR-1050:
-------------------------------------

That makes sense, I was trying to eliminate duplication of code and ensure that 
there was a common code base. I will do a more coarse implementation first so 
we can get a better idea of what the changes are. 

-Paddy

> Remove synchronization from JNDI data sources
> ---------------------------------------------
>
>                 Key: JCR-1050
>                 URL: https://issues.apache.org/jira/browse/JCR-1050
>             Project: Jackrabbit
>          Issue Type: Improvement
>          Components: core
>            Reporter: Padraic Hannon
>         Attachments: JNDI_Datasource_Changes.diff
>
>
> Using datasources one should be able to rely on the application server to 
> manage PreparedStatement caches therefore pre-creating and holding onto the 
> connection for long periods of time should not be needed. This relates to 
> improvement JCR-313, however, that change did not address the benefits one 
> could see in using an application server controlled datasource. Even if 
> jackrabbit does aim to use an embedded database such a system could be 
> configured to use datasources and could benefit from the removal of the 
> synchronization. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to