Support Array[T] parameter as JDBC parameter

Cleanup for #3386