I see, I was reacting to the slide that mentioned ODBC and JDBC are slow.
It makes sense that no matter the context, forcing the DB engine to parse and plan SQL it hasn't seen before could be quite a bit slower than parsing/planning it once and swapping in new parameters for each query.