diff --git a/core/src/main/java/com/orientechnologies/orient/core/iterator/ORecordIteratorClass.java b/core/src/main/java/com/orientechnologies/orient/core/iterator/ORecordIteratorClass.java
index <HASH>..<HASH> 100644
--- a/core/src/main/java/com/orientechnologies/orient/core/iterator/ORecordIteratorClass.java
+++ b/core/src/main/java/com/orientechnologies/orient/core/iterator/ORecordIteratorClass.java
@@ -192,6 +192,10 @@ public class ORecordIteratorClass<REC extends ORecordInternal<?>> extends ORecor
 			current.clusterPosition = firstClusterPosition - 1;

 		}

 

+		record = getTransactionEntry();

+		if (record != null)

+			return (REC) record;

+		

 		throw new NoSuchElementException();

 	}
Fixed bug on iterating class records inside a transaction