Using table-valued parameters with SQL Server JDBC - eviltoast

Today I learned how to pass a table of parameters into a stored procedure in MS SQL Server, using Java / JDBC.