Nope, you shouldn't need to do this.

"statements" that you create using the CreateStatementRequest are very similarly treated to the JDBC Statement interface (they essentially refer to an instance of a PhoenixStatement inside PQS, actually).

You should be able to create one statement and just prepareAndExecute against that.

Plamen Paskov wrote:
- create new statement for next select (not sure if i need it)
{
   "request": "createStatement",
   "connectionId": 5
}

Reply via email to