title: Call stored procedure passing table type argument
body: <p>I've created this stored procedure in HANA database which is taking two parameters, one is a table type and other is <code>varchar</code>.</p>
  
  <pre><code>CREATE PROCEDURE UPDATE_GSTR(IN p_Input_Values "GSTR11".p_Input_Values , IN p_TRANS_ID VARCHAR(100))
  </code></pre>
  
  <p>Now I want to call this procedure in Java, I've written something like this.</p>
  
  <pre><code>Connection dbConnection = null;
  CallableStatement callableStatement = null;
  
  String storedProcedure = "{call UPDATE_GSTR(?,?)}";
  
  dbConnection = jdbc.getDataSource().getConnection();
  callableStatement = dbConnection.prepareCall(storedProcedure);
  
  callableStatement.setString(1, "");
  callableStatement.setString(2, "");
  
  // execute store procedure
  callableStatement.executeUpdate();
  </code></pre>
  
  <p>Can someone tell me how to pass the object as a table entity in the argument while calling this stored procedure?</p>