Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem creating links [moved] #88

Closed
lvca opened this issue Dec 10, 2012 · 0 comments
Closed

Problem creating links [moved] #88

lvca opened this issue Dec 10, 2012 · 0 comments

Comments

@lvca
Copy link
Member

lvca commented Dec 10, 2012

This is Issue 88 moved from a Google Code project.
Added by 2010-07-30T08:29:52.000Z by j...@supporters.dk.
Please review that bug for more context and additional comments, but update this bug.
Closed (Done).

Original labels: Type-Defect, Priority-Medium

Original description

<b>What steps will reproduce the problem?</b>
1. Create class &quot;A&quot; with a title string-property
2. Create class &quot;B&quot; with a relationship link-property
3. Run the query: &quot;CREATE LINK test FROM B.relationship TO A.title&quot; (it does not matter if it is from the Command-page in OrientDB Studio or from the console - I get the same result)

Error shown:
&quot;Error: com.orientechnologies.orient.core.exception.OCommandExecutionException: Error on execution of command: OCommandSQL [text=CREATE LINK test FROM relationship.inVertex TO vertex.title]
--> com.orientechnologies.orient.core.sql.OCommandSQLParsingException: Error on parsing command at position #0: This command supports only the database type ODatabaseDocumentTx&quot;

<b>What is the expected output? What do you see instead?</b>
I expected the link to be created, so I would be able to query &quot;SELECT FROM B where A.title = 'something'&quot;

<b>Please use labels and text to provide additional information.</b>
create link, console, OrientDB Studio
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant