Skip to content

[Bug] Java Api .command(query) result in a temporary RID #8949

@matanshukry

Description

@matanshukry

OrientDB Version: 3.0.21

Java Version: 1.8.0_211

OS: Windows 10

Expected behavior

The result of a create query will include a positive (real) RID

Actual behavior

The result of a create query includes a negative (temporary) RID

Steps to reproduce

// ODatabase session = ... // obtain a session to the database
OResultSet result = session.command("CREATE VERTEX User SET name=\"bla1\"");
// RID: result.next().getRecord().get().getIdentity()

Metadata

Metadata

Assignees

Labels

buglegacy not used anymore

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions