An extension method to make it more Scala-style to use a scala.jdbc.Wrapper.
An extension method to make it more Scala-style to use a scala.jdbc.Wrapper.
the type of the target object to attempt to unwrap
an scala.Option that will be defined if the class was a wrapper, and undefined otherwise.
A JDBC
java.sql.Connection
that throws an exception for all methods.This is useful as a base class for a very limited implementation. You probably don't want to use this for a real driver, because you won't be able to easily tell what you have and haven't implemented.