У меня возникли проблемы с orientDB(2.1.15) при использовании Java API. Я добавил следующие jar-файлы в свою библиотеку проектов:
blueprints-core-2.6.0.jar
concurrentlinkedhashmap-lru-1.4.1.jar
jna-4.0.0.jar
na-platform-4.0.0.jar
orientdb-client-2.1.15.jar
orientdb-core-2.1.15.jar
orientdb-enterprise-2.1.15.jar
orientdb-graphdb-2.1.15.jar
pipes-2.6.0.jar
Я хочу выполнить следующую команду:
CREATE EDGE MetaInf2kmer FROM (select from MetaInfNode where accNo ='X17276.1') TO (select from GenomeGraphNode where seq=141) SET taxid=9646
с помощью:
db.command(new OCommandSQL("CREATE EDGE MetaInf2kmer FROM (select from MetaInfNode where accNo ='X17276.1') TO (select from GenomeGraphNode where seq=141) SET taxid=9646")).execute();
Я использую Eclipse Mars и экспортирую свой проект в виде исполняемой банки. Я получаю следующее исключение:
Exception in thread "main" com.orientechnologies.orient.core.command.OCommandExecutorNotFoundException: Cannot find a command executor for the command request: sql.CREATE EDGE MetaInf2kmer FROM (select from MetaInfNode where accNo ='X17276.1') TO (select from GenomeGraphNode where seq=141) SET taxid=9646
at com.orientechnologies.orient.core.sql.OCommandExecutorSQLDelegate.parse(OCommandExecutorSQLDelegate.java:72)
at com.orientechnologies.orient.core.sql.OCommandExecutorSQLDelegate.parse(OCommandExecutorSQLDelegate.java:42)
at com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.command(OAbstractPaginatedStorage.java:1400)
at com.orientechnologies.orient.core.command.OCommandRequestTextAbstract.execute(OCommandRequestTextAbstract.java:67)
at com.tinkerpop.blueprints.impls.orient.OrientGraphCommand.execute(OrientGraphCommand.java:49)
at odbMetaInforamtion.OdbAcc2tax.addTaxInfToMetaNode(OdbAcc2tax.java:112)
at odbMetaInforamtion.OdbAcc2tax.<init>(OdbAcc2tax.java:40)
at odbGraph.Testmain.main(Testmain.java:35)
Я уже искал в Интернете, но я только что нашел одно решение maven. https://github.com/orientechnologies/orientdb/issues/5105 Есть ли у вас какие-либо Идеи для затмения?