{"action":"created","issue":{"url":"https://api.github.com/repos/orientechnologies/orientdb/issues/4664","labels_url":"https://api.github.com/repos/orientechnologies/orientdb/issues/4664/labels{/name}","comments_url":"https://api.github.com/repos/orientechnologies/orientdb/issues/4664/comments","events_url":"https://api.github.com/repos/orientechnologies/orientdb/issues/4664/events","html_url":"https://github.com/orientechnologies/orientdb/issues/4664","id":97633188,"number":4664,"title":"ODatabaseDocumentTx and activateOnCurrentThread","user":{"login":"crmayer","id":13120600,"avatar_url":"https://avatars.githubusercontent.com/u/13120600?v=3","gravatar_id":"","url":"https://api.github.com/users/crmayer","html_url":"https://github.com/crmayer","followers_url":"https://api.github.com/users/crmayer/followers","following_url":"https://api.github.com/users/crmayer/following{/other_user}","gists_url":"https://api.github.com/users/crmayer/gists{/gist_id}","starred_url":"https://api.github.com/users/crmayer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crmayer/subscriptions","organizations_url":"https://api.github.com/users/crmayer/orgs","repos_url":"https://api.github.com/users/crmayer/repos","events_url":"https://api.github.com/users/crmayer/events{/privacy}","received_events_url":"https://api.github.com/users/crmayer/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-28T07:11:49Z","updated_at":"2015-07-28T08:40:16Z","closed_at":"2015-07-28T08:40:16Z","body":"Topic OrientDB and multi-threading\r\nOrientDB Version: 2.0.13\r\nTrying to comply with: https://orientdb.com/docs/last/Java-Multi-Threading.html\r\nProblem:\r\ncannot find method \r\n    *activateOnCurrentThread*\r\nin\r\n    public class *ODatabaseDocumentTx* extends OListenerManger<ODatabaseListener> implements ODatabaseDocumentInternal \r\n\r\nAm I on the wrong page?\r\nThank you"},"comment":{"url":"https://api.github.com/repos/orientechnologies/orientdb/issues/comments/125505602","html_url":"https://github.com/orientechnologies/orientdb/issues/4664#issuecomment-125505602","issue_url":"https://api.github.com/repos/orientechnologies/orientdb/issues/4664","id":125505602,"user":{"login":"luigidellaquila","id":459289,"avatar_url":"https://avatars.githubusercontent.com/u/459289?v=3","gravatar_id":"","url":"https://api.github.com/users/luigidellaquila","html_url":"https://github.com/luigidellaquila","followers_url":"https://api.github.com/users/luigidellaquila/followers","following_url":"https://api.github.com/users/luigidellaquila/following{/other_user}","gists_url":"https://api.github.com/users/luigidellaquila/gists{/gist_id}","starred_url":"https://api.github.com/users/luigidellaquila/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luigidellaquila/subscriptions","organizations_url":"https://api.github.com/users/luigidellaquila/orgs","repos_url":"https://api.github.com/users/luigidellaquila/repos","events_url":"https://api.github.com/users/luigidellaquila/events{/privacy}","received_events_url":"https://api.github.com/users/luigidellaquila/received_events","type":"User","site_admin":false},"created_at":"2015-07-28T08:40:16Z","updated_at":"2015-07-28T08:40:16Z","body":"Hi @crmayer \r\n\r\nthat docs page refers to 2.1 (it should be more explicit, I'm going to fix it).\r\nIn 2.0.13 you can use db.setCurrentDatabaseInThreadLocal() instead"}}