Only wrap it with proxy if the unwrap class is an interface and is a
child-type of the JDBC interface being called with unwrap.  (#1)
Proper batch statement construction depending on inline-param setting
(#2)