diff --git a/core/src/main/java/com/orientechnologies/orient/core/db/ODatabaseRecordThreadLocal.java b/core/src/main/java/com/orientechnologies/orient/core/db/ODatabaseRecordThreadLocal.java index e87166da2b2..7e3d7ed6111 100755 --- a/core/src/main/java/com/orientechnologies/orient/core/db/ODatabaseRecordThreadLocal.java +++ b/core/src/main/java/com/orientechnologies/orient/core/db/ODatabaseRecordThreadLocal.java @@ -99,8 +99,8 @@ public boolean isDefined() { } public static final class InstanceHolder { - public ODatabaseRecordThreadLocal get() { - return ODatabaseRecordThreadLocal.instance(); + public ODatabaseDocumentInternal get() { + return ODatabaseRecordThreadLocal.instance().get(); } } }