简体   繁体   English

如何作为插件在服务器上执行数据库命令?

[英]How can I execute database commands on the server as a plugin?

When extending the server as a plugin, is there a way I can interact with ODocuments without using a database pool to connect to it as if I were a client? 当将服务器扩展为插件时,是否有一种方法可以与ODocuments进行交互,而无需像我是客户端那样使用数据库池来连接到它?

In essence, I do not want to do this: 本质上,我不想这样做:

 pool = new OPartitionedDatabasePool(url, user, password);

You can try embedding an OrientDB Server inside a Java application. 您可以尝试将OrientDB服务器嵌入Java应用程序中。

For detailed information see documentation . 有关详细信息,请参见文档

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM