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

Already on GitHub? Sign in to your account

Wrong SQL construction for extending classes [moved] #1162

lvca opened this Issue Dec 10, 2012 · 1 comment


None yet
1 participant

lvca commented Dec 10, 2012

This is Issue 1162 moved from a Google Code project.
Added by 2012-11-07T13:15:33.000Z by alex.ded...@gmail.com.
Please review that bug for more context and additional comments, but update this bug.

Original labels: Type-Defect, Priority-Medium, Release

Original description

OrientDB release? 
OrientDB Server v1.2.0

<b>What steps will reproduce the problem?</b>
orientdb> create class iTest extends V                                                                                                         

Class created successfully. Total classes in database now: 17

orientdb> desc iTest

Class................: iTest
Super class..........: OGraphVertex
Default cluster......: itest (id=18)
Supported cluster ids: [18]

orientdb> create class iTest-new extend V

Class created successfully. Total classes in database now: 18

orientdb> desc iTest-new

Class................: iTest-new
Default cluster......: itest-new (id=19)
Supported cluster ids: [19]

<b>What is the expected output? What do you see instead?</b>
Why second command &quot;create class iTest-new extend V&quot; works without any exception about syntax?

I expect syntax error message for &quot;extend&quot; construction.

In this case DB created pure object but I expect Super class OGraphVertex.

lvca commented Oct 4, 2014

the keyword is "extends"

@lvca lvca closed this Oct 4, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment