code: private int executeUpdate(String sentence, String poolName) throws SQLException {
  
          Connection conn = null;
          PreparedStatement stmt = null;
          int ret = 0;
  
          CmsSqlManager sqlManager = m_sqlManager;
          try {
              conn = sqlManager.getConnection(poolName);
              stmt = sqlManager.getPreparedStatementForSql(conn, sentence);
              ret = stmt.executeUpdate();
          } finally {
              sqlManager.closeAll(null, conn, stmt, null);
          }
          return ret;
      }
docs: Executes a single sql sentence.<p>
  
  For <code>SELECT</code> sentences use <code>{@link #executeQuery(String, String)}</code>.<p>
  
  @param sentence the sentence to execute
  @param poolName the name of the pool to use
  
  @return the number of affected rows
  
  @throws SQLException if there is an error