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
I'm using the OrientDB 1.4.0 I just downloaded today. The begin / rollback in the console doesn't seem to work at all.
OrientDB console v.1.4.0 (build 268) www.orientechnologies.com
Type 'help' to display all the commands supported.
orientdb> create database remote:localhost/testdb2 root local
Creating database [remote:localhost/testdb2] using the storage type [local]...
Connecting to database [remote:localhost/testdb2] with user 'admin'...OK
Database created successfully.
Current database is: remote:localhost/testdb2
orientdb> create class MyClass
Class created successfully. Total classes in database now: 9
orientdb> create property MyClass.name STRING
Property created successfully with id=1
orientdb> create property MyClass.address STRING
Property created successfully with id=2
orientdb> begin
Transaction 1 is running
orientdb> insert into MyClass (name, address) values ('ABC', 'Test1')
Inserted record 'MyClass#9:0{name:ABC,address:Test1} v0' in 0.004000 sec(s).
orientdb> rollback
Transaction 1 has been rollbacked in 5ms
I'm using the OrientDB 1.4.0 I just downloaded today. The begin / rollback in the console doesn't seem to work at all.
OrientDB console v.1.4.0 (build 268) www.orientechnologies.com
Type 'help' to display all the commands supported.
orientdb> create database remote:localhost/testdb2 root local
Creating database [remote:localhost/testdb2] using the storage type [local]...
Connecting to database [remote:localhost/testdb2] with user 'admin'...OK
Database created successfully.
Current database is: remote:localhost/testdb2
orientdb> create class MyClass
Class created successfully. Total classes in database now: 9
orientdb> create property MyClass.name STRING
Property created successfully with id=1
orientdb> create property MyClass.address STRING
Property created successfully with id=2
orientdb> begin
Transaction 1 is running
orientdb> insert into MyClass (name, address) values ('ABC', 'Test1')
Inserted record 'MyClass#9:0{name:ABC,address:Test1} v0' in 0.004000 sec(s).
orientdb> rollback
Transaction 1 has been rollbacked in 5ms
orientdb> select from MyClass
----+----+----+-------
|@Rid|name|address
----+----+----+-------
0 |#9:0|ABC |Test1
----+----+----+-------
1 item(s) found. Query executed in 0.002 sec(s).
The text was updated successfully, but these errors were encountered: