I have question, not regarding OPS4J but you are OSGi experts ...

In many libraries, especially providing database connection pools,
there is used DriverManager for instantiation of JDBC Driver.
I can't  force DriverManager to work in OSGi - it always cannot find
class with driver. I've looked in its source code and find weird way
to find "correct" classloader, which actually is unuseful, because
doesn't use bundle classloader or context classloader.

Do you have any solutions, how to solve that problem?
Only solution working for me is to modify source code of connection
pool, to not use DriverManager. But I hate it...
I try to use C3P0.
-- 
Damian

_______________________________________________
general mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/general

Reply via email to