[ 
https://issues.apache.org/jira/browse/JCR-1309?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12561033#action_12561033
 ] 

Thomas Mueller commented on JCR-1309:
-------------------------------------

Fixed in revision 613914 (trunk).
Unless there is an objection, I will commit the changes to the 1.4 branch as 
well.

> Refactor DBMS support for JNDI datasources
> ------------------------------------------
>
>                 Key: JCR-1309
>                 URL: https://issues.apache.org/jira/browse/JCR-1309
>             Project: Jackrabbit
>          Issue Type: Improvement
>          Components: jackrabbit-core
>    Affects Versions: 1.3.3
>            Reporter: Andy Key
>            Assignee: Thomas Mueller
>
> Our shop currently uses Oracle for most projects, most commonly in an 
> application server (Tomcat, WebSphere, etc.), and use configured J2EE 
> datasources. Unfortunately, many of the classes that fix quirks on specific 
> DBMS force you to configure a JDBC connection (look at 
> org.apache.jackrabbit.core.fs.db.OracleFileSystem for instance), which is a 
> "bad idea" on an application server -- the application server should be 
> managing resources like DB connections, etc.  If you want to use an 
> DbFileSystem based on an Oracle database, you can't use a datasource from a 
> JNDI lookup.  This in effect makes Jackrabbit unusable in clustered 
> enterprise environments.
> It would be much better to refactor the current database support to separate 
> the method that an implementation obtains its connection from its 
> functionality.

-- 
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