我有一个使用特定版本的OrientDB创建的OrientDB数据库。我不知道具体的版本;这是在我的时间之前完成的。当我指出orientDB版本2.1.2时,Studio UI说它无法登录我。
抛出此异常
com.orientechnologies.orient.core.exception.OSchemaException: Cannot add base class 'userAccount', because of parameter conflict: userID (type=STRING) vs userID (type=STRING)
at com.orientechnologies.orient.core.metadata.schema.OClassImpl.checkParametersConflict(OClassImpl.java:2388)
at com.orientechnologies.orient.core.metadata.schema.OClassImpl.addBaseClass(OClassImpl.java:2370)
at com.orientechnologies.orient.core.metadata.schema.OClassImpl.setSuperClassesInternal(OClassImpl.java:459)
at com.orientechnologies.orient.core.metadata.schema.OSchemaShared.fromStream(OSchemaShared.java:775)
at com.orientechnologies.orient.core.type.ODocumentWrapperNoClass.reload(ODocumentWrapperNoClass.java:74)
at com.orientechnologies.orient.core.metadata.schema.OSchemaShared.load(OSchemaShared.java:861)
at com.orientechnologies.orient.core.metadata.OMetadataDefault$1.call(OMetadataDefault.java:150)
at com.orientechnologies.orient.core.metadata.OMetadataDefault$1.call(OMetadataDefault.java:145)
at com.orientechnologies.common.concur.resource.OSharedContainerImpl.getResource(OSharedContainerImpl.java:64)
Caused: com.orientechnologies.common.exception.OException: Error on creation of shared resource
at com.orientechnologies.common.concur.resource.OSharedContainerImpl.getResource(OSharedContainerImpl.java:66)
at com.orientechnologies.orient.core.storage.OStorageAbstract.getResource(OStorageAbstract.java:143)
at com.orientechnologies.orient.core.metadata.OMetadataDefault.init(OMetadataDefault.java:145)
at com.orientechnologies.orient.core.metadata.OMetadataDefault.load(OMetadataDefault.java:76)
at com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.initAtFirstOpen(ODatabaseDocumentTx.java:2871)
at com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.open(ODatabaseDocumentTx.java:260)
at com.orientechnologies.orient.core.db.OPartitionedDatabasePool$DatabaseDocumentTxPolled.internalOpen(OPartitionedDatabasePool.java:140)
at com.orientechnologies.orient.core.db.OPartitionedDatabasePool.openDatabase(OPartitionedDatabasePool.java:343)
at com.orientechnologies.orient.core.db.OPartitionedDatabasePool.acquire(OPartitionedDatabasePool.java:313)
at
at com.orientechnologies.orient.core.db.ODatabaseRecordThreadLocal.get(ODatabaseRecordThreadLocal.java:54)
我想弄清楚用于创建数据库的db引擎版本,以便我可以查看数据。
理想情况下,我想继续使用2.1.2 - 但我认为获取创建数据库的版本是一个很好的起点。