You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Native query result type while using standard orientDB.open() connection
OrientDB and GraphFactory config
@Bean
public OrientDB orientDB() {
return new OrientDB("remote:localhost",
"root",
"root",
com.orientechnologies.orient.core.db.OrientDBConfig.defaultConfig());
}
@Bean
@ConditionalOnProperty(prefix = "ontology", name = "service", havingValue = "orientdb-tp3")
public OrientGraphFactory factory() {
return new OrientGraphFactory("remote:localhost/%s".formatted(dbNameTp3),
"root",
"root");
}
Connection init
db = graphFactory.getDatabase(false, true);
Actual behavior
Native query result type while using cached pool as connection
Pool config
OrientDBConfigBuilder poolCfg = new OrientDBConfigBuilder();
poolCfg.addConfig(OGlobalConfiguration.DB_POOL_MIN, 5);
poolCfg.addConfig(OGlobalConfiguration.DB_POOL_MAX, 10);
pool = new ODatabasePool(orientDB, dbName, "root", "root", poolCfg.build());
Steps to reproduce
Start standalone orientdb-tp3 3.2.32 docker image with docker run -d --name orient-db-tp3 -p 2424:2424 -p 2480:2480 -e ORIENTDB_ROOT_PASSWORD=root orientdb:3.2.32-tp3
Add some vertex to DB
Try to read this vertex from Java API with db.query() using cached pool and using default orientDB.open() method
Witness different types of returned results
The text was updated successfully, but these errors were encountered:
OrientDB Version: docker orientdb:3.2.32-tp3
Java Version: 17
OS: Windows 10
Expected behavior
Native query result type while using standard orientDB.open() connection
OrientDB and GraphFactory config
Connection init
Actual behavior
Native query result type while using cached pool as connection
Pool config
Steps to reproduce
Start standalone orientdb-tp3 3.2.32 docker image with docker run -d --name orient-db-tp3 -p 2424:2424 -p 2480:2480 -e ORIENTDB_ROOT_PASSWORD=root orientdb:3.2.32-tp3
Add some vertex to DB
Try to read this vertex from Java API with db.query() using cached pool and using default orientDB.open() method
Witness different types of returned results
The text was updated successfully, but these errors were encountered: