Hi,
My OrientDB Server v2.0-SNAPSHOT (build 1)
I do basic authorization and then send POST-request to
http://localhost:2480/batch/GratefulDeadConcerts with content:
{"transaction":false,"operations":[{"type":"cmd","language":"sql","command":"create
property ouser.zzz String"}]}
And got response:
1
But, when I tried check appended property in console, I don`t see this
changes:
orientdb {GratefulDeadConcerts}> info class ouser
Class................: OUser
Super class..........: OIdentity
Default cluster......: ouser (id=5)
Supported cluster ids: [5]
Properties:
-------------------------------+-------------+-------------------------------+-----------+----------+----------+-----------+-----------+----------+
NAME | TYPE | LINKED TYPE/CLASS
| MANDATORY | READONLY | NOT NULL | MIN | MAX | COLLATE |
-------------------------------+-------------+-------------------------------+-----------+----------+----------+-----------+-----------+----------+
name | STRING | null
| true | false | true | | | ci |
password | STRING | null
| true | false | true | | | default |
roles | LINKSET | ORole
| false | false | false | | | default |
status | STRING | null
| true | false | true | | | default |
-------------------------------+-------------+-------------------------------+-----------+----------+----------+-----------+-----------+----------+
Indexes (1 altogether):
-------------------------------+----------------+
NAME | PROPERTIES |
-------------------------------+----------------+
OUser.name | name |
-------------------------------+----------------+
Where my new property "zzz"? But, when I reconnected to my database, I see
this changes:
orientdb {GratefulDeadConcerts}> connect plocal:/home/programs/orientdbTest/
releases/orientdb-community-2.0-SNAPSHOT/databases/GratefulDeadConcertsadmin
admin
Disconnecting from the database [GratefulDeadConcerts]...
OKConnecting to database [plocal:/home/programs/orientdbTest/releases/
orientdb-community-2.0-SNAPSHOT/databases/GratefulDeadConcerts] with user
'admin'...OK
orientdb {GratefulDeadConcerts}> desc ouser
Class................: OUser
Super class..........: OIdentity
Default cluster......: ouser (id=5)
Supported cluster ids: [5]
Properties:
-------------------------------+-------------+-------------------------------+-----------+----------+----------+-----------+-----------+----------+
NAME | TYPE | LINKED TYPE/CLASS
| MANDATORY | READONLY | NOT NULL | MIN | MAX | COLLATE |
-------------------------------+-------------+-------------------------------+-----------+----------+----------+-----------+-----------+----------+
zzz | STRING | null
| false | false | false | | | default |
name | STRING | null
| true | false | true | | | ci |
password | STRING | null
| true | false | true | | | default |
roles | LINKSET | ORole
| false | false | false | | | default |
status | STRING | null
| true | false | true | | | default |
-------------------------------+-------------+-------------------------------+-----------+----------+----------+-----------+-----------+----------+
Indexes (1 altogether):
-------------------------------+----------------+
NAME | PROPERTIES |
-------------------------------+----------------+
OUser.name | name |
-------------------------------+----------------+
It bug?
--
---
You received this message because you are subscribed to the Google Groups
"OrientDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.