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

Query 'Create Edge' not work by JDBC #5702

Closed
schernolyas opened this issue Feb 9, 2016 · 1 comment
Closed

Query 'Create Edge' not work by JDBC #5702

schernolyas opened this issue Feb 9, 2016 · 1 comment
Labels

Comments

@schernolyas
Copy link

Hi!

I try to execute query "create edge owner from #25:0 to #17:0". OrientDB throw exception:
Caused by: java.lang.ClassCastException: com.tinkerpop.blueprints.impls.orient.OrientEdge cannot be cast to com.orientechnologies.orient.core.record.impl.ODocument
at com.orientechnologies.orient.jdbc.OrientJdbcResultSet.(OrientJdbcResultSet.java:58)
at com.orientechnologies.orient.jdbc.OrientJdbcStatement.execute(OrientJdbcStatement.java:106)
at org.hibernate.datastore.ogm.orientdb.utils.AssociationUtil.insertAssociation(AssociationUtil.java:48)

@schernolyas
Copy link
Author

Fixed. Use 'executeUpdate'

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

No branches or pull requests

2 participants