In the process of replacing JDBC commands with custom protocol