You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openjpa.apache.org by "Rick Curtis (JIRA)" <ji...@apache.org> on 2010/09/28 18:19:33 UTC

[jira] Commented: (OPENJPA-1764) Automatically enable connection pooling in unmanaged environments

    [ https://issues.apache.org/jira/browse/OPENJPA-1764?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12915810#action_12915810 ] 

Rick Curtis commented on OPENJPA-1764:
--------------------------------------

One nit... change your constants(ie DBCPDriverDataSource._dbcpPackageName) to be uppercase.

> Automatically enable connection pooling in unmanaged environments
> -----------------------------------------------------------------
>
>                 Key: OPENJPA-1764
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-1764
>             Project: OpenJPA
>          Issue Type: Sub-task
>          Components: jdbc, performance
>    Affects Versions: 2.1.0
>            Reporter: Donald Woods
>            Assignee: Donald Woods
>             Fix For: 2.1.0
>
>         Attachments: OPENJPA-1764-20100927.diff
>
>
> When commons-dbcp is present on the classpath and we are running in a JSE or unmanaged environment, we should automatically configure DriverClassName=org.apache.commons.dbcp.BasicDataSource and apply some DBCP args (this might be the tricky part, based on the different dbcp args we have to use today for different databases...)

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