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.
(wrappedConnection: RichWrapper).inner
A wrapper around a JDBC
java.sql.Connection
.This is useful to allow you to override or wrap certain methods: you can use this as a base class and override just the methods you care about. Everything else will delegate to the underlying connection.