word = token.getText(  );
word = token.getText(  ).toString();
    public void storeText( IndexPaths idx, TextImpl text ) {        DocumentImpl doc = (DocumentImpl) text.getOwnerDocument(  );        Integer docId = new Integer( doc.getDocId(  ) );        Long gid = new Long( text.getGID(  ) );        tokenizer.setText( text.getData(  ) );        String word;        TextToken token;        ResultSet rid;        int word_id = 0;        if ( broker.getDatabaseType(  ) != RelationalBroker.MYSQL )            try {                m_insertWordStmt.getConnection(  ).setAutoCommit( false );            } catch ( SQLException sqe ) {                LOG.debug( sqe );            }        while ( null != ( token = tokenizer.nextToken(  ) ) ) {            if ( idx != null && idx.getIncludeAlphaNum(  ) == false                     && ( token.getType(  ) == TextToken.ALPHANUM )                 )                continue;            word = token.getText(  );            if ( stoplist.contains( word ) )                continue;            if ( words.containsKey( word ) )                word_id = ( (Integer) words.get( word ) ).intValue(  );            else {                Object lock = wordsLock.acquire(  );                try {                    m_getWordIdStmt.setString( 1, word );                    rid = m_getWordIdStmt.executeQuery(  );                    if ( !rid.next(  ) ) {                        word_id = getNextWordId(  );                        m_insertWordStmt.setInt( 1, word_id );                        m_insertWordStmt.setString( 2, word );                        m_insertWordStmt.executeUpdate(  );                    } else                        word_id = rid.getInt( 1 );                    rid.close(  );                    /*                     *  if(broker.getDatabaseType() != RelationalBroker.MYSQL)                     *  m_insertWordStmt.getConnection().setAutoCommit(false);                     */                    words.put( word, new Integer( word_id ) );                } catch ( SQLException e ) {                    LOG.warn( "sql exception while storing cdata: " + e );                } finally {                    wordsLock.release( lock );                }            }            t_insert.setDocId( doc.getDocId(  ) );            t_insert.addRow( word_id, text.getGID(  ) );        }    }