more jdbc repository work.
Use the defined class loader instead of the class loader from the exception class for match checks.
Remove unneeded lookup from SPI.