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

Transactions don't work for remote databases in console #1513

Closed
StevenTomer opened this issue Jun 10, 2013 · 2 comments
Closed

Transactions don't work for remote databases in console #1513

StevenTomer opened this issue Jun 10, 2013 · 2 comments
Assignees
Milestone

Comments

@StevenTomer
Copy link

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).

@ghost ghost assigned lvca Jun 11, 2013
@lvca
Copy link
Member

lvca commented Jun 11, 2013

Duplicated issue as #890

@lvca lvca closed this as completed Jun 11, 2013
@lvca
Copy link
Member

lvca commented Jun 11, 2013

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

No branches or pull requests

2 participants