[
https://issues.apache.org/jira/browse/DBUTILS-81?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Simone Tripodi updated DBUTILS-81:
----------------------------------
Attachment: DBUTILS-81.patch
Please take a loot at the proposed patch, if it works for you I can commit.
Looking forward your feedback
> DbUtils.loadDriver() uses Class.forName()
> -----------------------------------------
>
> Key: DBUTILS-81
> URL: https://issues.apache.org/jira/browse/DBUTILS-81
> Project: Commons DbUtils
> Issue Type: Bug
> Reporter: Simone Tripodi
> Attachments: DBUTILS-81.patch
>
>
> The {{Class.forName()}} statement should be avoided due to potential OSGi
> issues - commons components are OSGi bundles!
> The ClassLoader should be used instead to [load
> classes|http://download.oracle.com/javase/6/docs/api/java/lang/ClassLoader.html#loadClass(java.lang.String)]
> and add a new method to pass custom ClassLoader.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira