public static boolean isFixedWidth(int encodingId) throws SQLException {
    if (encodingId == 0) return false;

    int index = -1;
    int lower = 0;
    int upper = m_maxCharWidth.length - 1;
    int mid = -1;

    while (lower <= upper) {
      mid = (lower + upper) / 2;

      if (encodingId < m_maxCharWidth[mid][0]) {
        upper = mid - 1;
        continue;
      }
      if (encodingId > m_maxCharWidth[mid][0]) {
        lower = mid + 1;
        continue;
      }

      index = mid;
    }

    if (index < 0) {
      DatabaseError.throwSqlException(35);
      return false;
    }

    return (m_maxCharWidth[index][1] & 0x100) != 0;
  }
 /*    */ public synchronized void afterClose(Object paramObject) /*    */ {
   /* 56 */ int i = ((OracleXAHeteroConnection) paramObject).getRmid();
   /* 57 */ String str = ((OracleXAHeteroConnection) paramObject).getXaCloseString();
   /*    */ try
   /*    */ {
     /* 62 */ int j = doXaClose(str, i, 0, 0);
     /*    */
     /* 68 */ if (j != 0)
     /*    */ {
       /* 70 */ DatabaseError.throwSqlException(-1 * j);
       /*    */ }
     /*    */ }
   /*    */ catch (SQLException localSQLException)
   /*    */ {
     /*    */ }
   /*    */ }