db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dyre Tjeldvoll (JIRA)" <j...@apache.org>
Subject [jira] Updated: (DERBY-3227) Remove final from all getConnection() methods in EmbeddedDataSource
Date Fri, 11 Apr 2008 15:48:04 GMT

     [ https://issues.apache.org/jira/browse/DERBY-3227?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Dyre Tjeldvoll updated DERBY-3227:

    Attachment: derby-3227.diff

I have attached a patch which implements Aaron's suggestion. We can always debate whether
it is the "the right thing to do" but as long as other jdbc drivers (including our own ClientDriver)
allow this, I think it is reasonable for EmbeddedDataSource to do so as well.

> Remove final from all getConnection() methods in EmbeddedDataSource
> -------------------------------------------------------------------
>                 Key: DERBY-3227
>                 URL: https://issues.apache.org/jira/browse/DERBY-3227
>             Project: Derby
>          Issue Type: Improvement
>          Components: JDBC
>    Affects Versions:
>            Reporter: Aaron Digulla
>            Priority: Minor
>         Attachments: derby-3227.diff
> The final modifier makes it impossible to wrap Derby connections in P6Spy, for example.
> The network ClientDataSource doesn't use final, either.
> Patch: Replace "public final Connection" with "public Connection" two times.

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

View raw message