studio中的Orientdb开放式plocal数据库

studio中的Orientdb开放式plocal数据库,orientdb,Orientdb,如何让orientdb在spring引导服务器中以嵌入式模式运行,并让studio与数据库交互并执行特别查询 在应用程序生成的数据中。使用嵌入式数据库有两种方法: 只需使用ODatabaseDocumentTx从物理路径打开它 新的ODatabaseDocumentTx(“plocal:/the/path/to/the/db”) 这将只打开数据库,没有其他服务 在应用程序中启动完整的OrientDB服务器,请参阅第2.2版 第二个选项还将启动HTTP服务器并公开Studio

如何让orientdb在spring引导服务器中以嵌入式模式运行,并让studio与数据库交互并执行特别查询
在应用程序生成的数据中。

使用嵌入式数据库有两种方法:

  • 只需使用ODatabaseDocumentTx从物理路径打开它

    新的ODatabaseDocumentTx(“plocal:/the/path/to/the/db”)

  • 这将只打开数据库,没有其他服务

  • 在应用程序中启动完整的OrientDB服务器,请参阅第2.2版
  • 第二个选项还将启动HTTP服务器并公开Studio