An extension method to make it more Scala-style to use a java.sql.Wrapper.
An extension method to make it more Scala-style to use a java.sql.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.
(wrapperWrapping: RichWrapper).inner
A parent trait that should be used for all the JDBC wrappers.
JDBC is designed to accommodate wrappers, and has a few special methods that can be used to penetrate wrappers to expose hidden interfaces. This trait provides standard implementations of those, plus implementations of
hashCode
andequals
.