Hi Vladislav,
Honestly, initially I had thought of
using MySqlServerSidePreparedstatement.
But after discussion with Georg, I
understood it was an overhead.
Even when discussed during code review
with Massimo we decided to add the
useserverprepstmts feature using MySqlPreparedStatement and not to use MySqlServerSidePreparedstatement.
Because this class just had a prepare and close and not a clear idea why
this class was created and almost all methods are empty.
We
are not removing client side prepared statement feature, both client and
server side prepared statement are there and will be used as per the
needs.I am just trying to add a useserverprepstmts feature usingMySqlPreparedStatement and will be activated from the jdbc url i.e jdbc:mysql://localhost:3306/test?useServerPrepStmts=true.
If useServerPrepStmts is not used client side prepared statements will be used.
Regards
Puneet.