You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cayenne.apache.org by "Scott Anderson (JIRA)" <de...@cayenne.apache.org> on 2008/04/04 23:11:38 UTC

[jira] Created: (CAY-1024) [PATCH] Fall back on DriverManager to load driver

[PATCH] Fall back on DriverManager to load driver
-------------------------------------------------

                 Key: CAY-1024
                 URL: https://issues.apache.org/cayenne/browse/CAY-1024
             Project: Cayenne
          Issue Type: Improvement
    Affects Versions: 3.0
            Reporter: Scott Anderson
            Assignee: Andrus Adamchik
            Priority: Minor


If you use a custom class loader to pull a Driver in to the environment at run time, the Driver class can't be loaded through Cayenne's DriverDataSource.loadDriver() method

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


[jira] Updated: (CAY-1024) [PATCH] Fall back on DriverManager to load driver

Posted by "Scott Anderson (JIRA)" <de...@cayenne.apache.org>.
     [ https://issues.apache.org/cayenne/browse/CAY-1024?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Scott Anderson updated CAY-1024:
--------------------------------

    Attachment: DriverManager.patch

> [PATCH] Fall back on DriverManager to load driver
> -------------------------------------------------
>
>                 Key: CAY-1024
>                 URL: https://issues.apache.org/cayenne/browse/CAY-1024
>             Project: Cayenne
>          Issue Type: Improvement
>    Affects Versions: 3.0
>            Reporter: Scott Anderson
>            Assignee: Andrus Adamchik
>            Priority: Minor
>         Attachments: DriverManager.patch
>
>
> If you use a custom class loader to pull a Driver in to the environment at run time, the Driver class can't be loaded through Cayenne's DriverDataSource.loadDriver() method

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


[jira] Closed: (CAY-1024) [PATCH] Fall back on DriverManager to load driver

Posted by "Andrus Adamchik (JIRA)" <de...@cayenne.apache.org>.
     [ https://issues.apache.org/cayenne/browse/CAY-1024?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrus Adamchik closed CAY-1024.
--------------------------------

    Resolution: Won't Fix

Looks like the patch can introduce a bit of inconsistency... also found alternative solution, which I documented via JavaDocs:

http://markmail.org/message/gyaekxpszfdytx57

> [PATCH] Fall back on DriverManager to load driver
> -------------------------------------------------
>
>                 Key: CAY-1024
>                 URL: https://issues.apache.org/cayenne/browse/CAY-1024
>             Project: Cayenne
>          Issue Type: Improvement
>    Affects Versions: 3.0
>            Reporter: Scott Anderson
>            Assignee: Andrus Adamchik
>            Priority: Minor
>         Attachments: DriverManager.patch
>
>
> If you use a custom class loader to pull a Driver in to the environment at run time, the Driver class can't be loaded through Cayenne's DriverDataSource.loadDriver() method

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