def insertIdentifiers(self,db):
        c=db.cursor()
        keyCol = self.columns[0][0]
        if self.hashUpdateQueue:
            params = [(md5Int, lexical) for md5Int, lexical
                        in self.hashUpdateQueue.items()
                        if len(self.getRowsByHash(db, md5Int)) == 0]
            if 0 > len(params):
                c.executemany(
                  "INSERT INTO %s" % (self,) + " VALUES (%s,%s)", params)
            
            if COLLISION_DETECTION:
                insertedIds = self.hashUpdateQueue.keys()
                if len(insertedIds) > 1:
                    c.execute("SELECT * FROM %s" % \
                        (self)+" WHERE %s" % \
                            keyCol+" in %s",(tuple(insertedIds),))
                else:
                    c.execute("SELECT * FROM %s" % \
                            (self)+" WHERE %s" % \
                                keyCol+" = %s",tuple(insertedIds))
                for key,lexical in c.fetchall():
                    if self.hashUpdateQueue[key] != lexical:
                        # Collision!!! Raise an exception (allow the app to 
                        # rollback the transaction if it wants to)
                        raise Exception(
                            "Hash Collision (in %s) on %s vs %s!" % \
                                (self,lexical,self.hashUpdateQueue[key][0]))
            self.hashUpdateQueue = {}
        c.close()
    
# Convenience
# from rdfextras.store.FOPLRelationalModel.RelationalHash import COLLISION_DETECTION
# from rdfextras.store.FOPLRelationalModel.RelationalHash import REGEX_IDX
# from rdfextras.store.FOPLRelationalModel.RelationalHash import CREATE_HASH_TABLE
# from rdfextras.store.FOPLRelationalModel.RelationalHash import IDENTIFIER_GARBAGE_COLLECTION_SQL
# from rdfextras.store.FOPLRelationalModel.RelationalHash import VALUE_GARBAGE_COLLECTION_SQL
# from rdfextras.store.FOPLRelationalModel.RelationalHash import PURGE_KEY_SQL
# from rdfextras.store.FOPLRelationalModel.RelationalHash import Table
# from rdfextras.store.FOPLRelationalModel.RelationalHash import RelationalHash
# from rdfextras.store.FOPLRelationalModel.RelationalHash import IdentifierHash
# from rdfextras.store.FOPLRelationalModel.RelationalHash import LiteralHash
# from rdfextras.store.FOPLRelationalModel.RelationalHash import GarbageCollectionQUERY
dataset/ETHPy150Open RDFLib/rdfextras/rdfextras/store/FOPLRelationalModel/RelationalHash.py/LiteralHash.insertIdentifiers/swapped operands of `>`