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
This is Issue 81 moved from a Google Code project.
Added by 2010-07-29T05:26:01.000Z by [email protected].
Please review that bug for more context and additional comments, but update this bug.
Closed (Fixed).
Original labels: Type-Defect, Priority-Medium, v0.9.24
Original description
When querying my database before I've actually saved any instances, raises the exception:
com.orientechnologies.orient.core.exception.OCommandExecutionException: Class DOG was not found
at com.orientechnologies.orient.core.sql.OCommandExecutorSQLSelect.execute(Unknown Source)
Where I would instead expect an empty result set.
I imagine this is actually a Schema error (which isn't clear from the message), and is because the schema isn't actually created until an object is saved. IMO I would would like the schema's to be created when I run the
db.getEntityManager().registerEntityClasses
command. That way I could safely query it, without anything blowing up...
So I see two problems here:
1. time at which schema is created causes issues
2. error message when querying a type that hasn't been created is not clear.
Perhaps there is another way that I can trigger the automatic build of my schema, without saving an issue?
The text was updated successfully, but these errors were encountered:
This is Issue 81 moved from a Google Code project.
Added by 2010-07-29T05:26:01.000Z by [email protected].
Please review that bug for more context and additional comments, but update this bug.
Closed (Fixed).
Original labels: Type-Defect, Priority-Medium, v0.9.24
Original description
The text was updated successfully, but these errors were encountered: