{"action":"created","issue":{"url":"https://api.github.com/repos/orientechnologies/orientdb/issues/5490","labels_url":"https://api.github.com/repos/orientechnologies/orientdb/issues/5490/labels{/name}","comments_url":"https://api.github.com/repos/orientechnologies/orientdb/issues/5490/comments","events_url":"https://api.github.com/repos/orientechnologies/orientdb/issues/5490/events","html_url":"https://github.com/orientechnologies/orientdb/issues/5490","id":123103173,"number":5490,"title":"how to use schemas unique to an instance?","user":{"login":"fommil","id":1914041,"avatar_url":"https://avatars.githubusercontent.com/u/1914041?v=3","gravatar_id":"","url":"https://api.github.com/users/fommil","html_url":"https://github.com/fommil","followers_url":"https://api.github.com/users/fommil/followers","following_url":"https://api.github.com/users/fommil/following{/other_user}","gists_url":"https://api.github.com/users/fommil/gists{/gist_id}","starred_url":"https://api.github.com/users/fommil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fommil/subscriptions","organizations_url":"https://api.github.com/users/fommil/orgs","repos_url":"https://api.github.com/users/fommil/repos","events_url":"https://api.github.com/users/fommil/events{/privacy}","received_events_url":"https://api.github.com/users/fommil/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"tglman","id":424369,"avatar_url":"https://avatars.githubusercontent.com/u/424369?v=3","gravatar_id":"","url":"https://api.github.com/users/tglman","html_url":"https://github.com/tglman","followers_url":"https://api.github.com/users/tglman/followers","following_url":"https://api.github.com/users/tglman/following{/other_user}","gists_url":"https://api.github.com/users/tglman/gists{/gist_id}","starred_url":"https://api.github.com/users/tglman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tglman/subscriptions","organizations_url":"https://api.github.com/users/tglman/orgs","repos_url":"https://api.github.com/users/tglman/repos","events_url":"https://api.github.com/users/tglman/events{/privacy}","received_events_url":"https://api.github.com/users/tglman/received_events","type":"User","site_admin":false},"milestone":null,"comments":17,"created_at":"2015-12-19T18:34:38Z","updated_at":"2015-12-21T15:36:07Z","closed_at":null,"body":"in my [dev branch of ENSIME](https://github.com/fommil/ensime-server/tree/graphpocalypse), I've swapped our backend from H2 to OrientDB and I think I have feature parity. However, when I run my integration tests (`sbt it:test`) I get a bunch of errors that look like this:\r\n\r\n```\r\nCaused by: com.orientechnologies.orient.core.exception.OSchemaException: Class FqnSymbol already exists in current database\r\n\tat com.orientechnologies.orient.core.metadata.schema.OSchemaShared.doCreateClass(OSchemaShared.java:980) ~[orientdb-core-2.1.5.jar:2.1.5]\r\n\tat com.orientechnologies.orient.core.metadata.schema.OSchemaShared.createClass(OSchemaShared.java:415) ~[orientdb-core-2.1.5.jar:2.1.5]\r\n\tat com.orientechnologies.orient.core.metadata.schema.OSchemaShared.createClass(OSchemaShared.java:400) ~[orientdb-core-2.1.5.jar:2.1.5]\r\n\tat com.orientechnologies.orient.core.metadata.schema.OSchemaProxy.createClass(OSchemaProxy.java:100) ~[orientdb-core-2.1.5.jar:2.1.5]\r\n\tat com.tinkerpop.blueprints.impls.orient.OrientBaseGraph$4.call(OrientBaseGraph.java:1299) ~[orientdb-graphdb-2.1.5.jar:2.1.5]\r\n\tat com.tinkerpop.blueprints.impls.orient.OrientBaseGraph$4.call(OrientBaseGraph.java:1296) ~[orientdb-graphdb-2.1.5.jar:2.1.5]\r\n\tat com.tinkerpop.blueprints.impls.orient.OrientBaseGraph.executeOutsideTx(OrientBaseGraph.java:1744) ~[orientdb-graphdb-2.1.5.jar:2.1.5]\r\n\tat com.tinkerpop.blueprints.impls.orient.OrientBaseGraph.createVertexType(OrientBaseGraph.java:1296) ~[orientdb-graphdb-2.1.5.jar:2.1.5]\r\n\tat com.tinkerpop.blueprints.impls.orient.OrientBaseGraph.createVertexType(OrientBaseGraph.java:1279) ~[orientdb-graphdb-2.1.5.jar:2.1.5]\r\n\tat com.tinkerpop.blueprints.impls.orient.OrientBaseGraph.createVertexType(OrientBaseGraph.java:1264) ~[orientdb-graphdb-2.1.5.jar:2.1.5]\r\n```\r\n\r\nAs part of the tests, I'm creating the same empty database over and over again, in independent directories, all using the same schema. It looks like there is no isolation of schemas in OrientDB, this is a big problem for our testing, how can I enforce a separate schema object for each database that I create?"},"comment":{"url":"https://api.github.com/repos/orientechnologies/orientdb/issues/comments/166332483","html_url":"https://github.com/orientechnologies/orientdb/issues/5490#issuecomment-166332483","issue_url":"https://api.github.com/repos/orientechnologies/orientdb/issues/5490","id":166332483,"user":{"login":"fommil","id":1914041,"avatar_url":"https://avatars.githubusercontent.com/u/1914041?v=3","gravatar_id":"","url":"https://api.github.com/users/fommil","html_url":"https://github.com/fommil","followers_url":"https://api.github.com/users/fommil/followers","following_url":"https://api.github.com/users/fommil/following{/other_user}","gists_url":"https://api.github.com/users/fommil/gists{/gist_id}","starred_url":"https://api.github.com/users/fommil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fommil/subscriptions","organizations_url":"https://api.github.com/users/fommil/orgs","repos_url":"https://api.github.com/users/fommil/repos","events_url":"https://api.github.com/users/fommil/events{/privacy}","received_events_url":"https://api.github.com/users/fommil/received_events","type":"User","site_admin":false},"created_at":"2015-12-21T15:36:07Z","updated_at":"2015-12-21T15:36:07Z","body":"because i have multiple orientdb instances and that is not allowed."}}