Hi, I have a clean system and did a git clone the latest and there's no bin directory.
git clone https://github.com/orientechnologies/orientdb.git
commit a14994471faa5a8d9321b6f0013ae75e8d77fa91 (HEAD -> develop, origin/develop, origin/HEAD)
Author: Tglman tglman@tglman.com
Date: Wed Apr 8 14:10:19 2020 +0100
Has this location changed? Thanks
server.sh: line 50: cd: /Users/username/Documents/Projects/orientdb/server/bin: No such file or directory
server.sh: line 114: /Users/username/Documents/Projects/orientdb/server/bin/orient.pid: No such file or directory
Error: Could not find or load main class com.orientechnologies.orient.server.OServerMain
Deserializer for "orient:ORecordId" not found
. Does anyone know the cause of this?
OResultSet result = session.command("SELECT * FROM abc");
result.stream().map(MyPojo::of);
Hi @madiganz the cause is that the id of OrientDB is a composition of 2 values composing the ORecordId, which is serialized in a custom way.
Could you try this solution if it helps?
https://discourse.orientdb.org/t/deserializer-for-orient-orecordid-not-found/126/15
Thanks
Suggestion of 10 (TEN) crucial items for developing web application 2020
Could someone suggest the best tool/framework for small or medium size or enterprise web application for 2020 - 10 to 1000 users and millions of records
#1 - Best Unit test case framework
#2 - Best NoSQL Database
#3 - Best Relation Database
#4 - Best Synchronous Framework
#5 - Best Asychronous Framework
#6 - Best Front-End Framework (Active Development, Max Support)
#7 - Best Debugging Tool
#8 - Best Performance Tuning Tool
#9 - Best Code Coverage Tool
#10 - Best DB migration tool (ex: flyway)
Thanks.
Hello, I'm just starting with OrientDB and I try to build my first graph database:
create class User extends V;
create property User.mail String;
and on this call I get an parsing error. If I run the statements manually sequentially everything works fine, but I would like to create a SQL File, which generates the whole database structure in my Docker container. How can I run multiple statements? And can I build the database on the Docker build?
Hello, I Try to build a docker container, which generates on building a database and import the schema with some example datasets, I just trie to run
RUN console.sh "create database plocal:/orientdb/databases/orientdb"
RUN console.sh "connect plocal:/orientdb/databases/orientdb root; load script /sqlscripts/all.sql"
But the first command does not create the database and the second one will fail. If I run it manually it will work
hi
I have pasted the code in
<https://pastebin.com/z8q5cavm>
I will be having huge list of rows in the datatable and each row will have a specific href or mp3 file link. However the code always opens the serm.mp3 eventhough whatever i pass in the link.
Can someone help me on how to fix this javascript?
Basically want to change the src of the mp3 file when the media player open on clicking the href link in the datatable
var db = orient.getDatabase();
var queryStmt = "select expand($d) ";
queryStmt = queryStmt + "\n" + "let $a = (SELECT content_id, description as Description, user_id, 'description' as search_type from Content WHERE SEARCH_FIELDS(['description'],'description:'"+keywords+"'') = true), $b = (SELECT content_id, user_tags as Topic, user_id, 'topic' as search_type from Content WHERE SEARCH_FIELDS(['user_tags'],'user_tags:'"+keywords+"'') = true), $c = (SELECT user_id, username, full_name, in('userFollow').size() as followers, out('userContent').size() as videos, 'hashtags' as search_type from User WHERE SEARCH_CLASS('"+keywords+"'*') = true), $d = unionAll($a,$b,$c)"
var result = db.command('sql',queryStmt);
return result;