Menu

#16 Custom class loader does not work for db drivers

open
Michael
CPO Util (10)
5
2012-03-13
2012-03-13
David Berry
No

The custom class loader should be able to take in db drivers and override the default drivers that come with cpoUtil.

Discussion

  • Michael

    Michael - 2012-03-15

    I think this issue is going to go away when we change to only use the CpoAdapter for the datasource as CpoUtil will no longer be loading the driver class at all...the api would.

     
  • Michael

    Michael - 2012-04-05

    We currently do it the other way. We try to load it off the classpath, if it can't be found or has issues, we attempt to load it off the custom classpath.

    I can reverse this order, though I'm not sure why it was done this way...probably to look if it wasn't there, but I like the overloading thing.

     

Log in to post a comment.

MongoDB Logo MongoDB