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 can't help you much because I don't know about graph databases. Well, I read a little bit on its website and I see that is like a hybrid document database that can connect documents like a relational database, so I don't know for sure if a direct mapping (user table -> user document) could work.
What I can tell you is that:
You can find the structure of this application's database in src/main/resources/sql.
You will have to add the driver for the OrientedDB database.
You will have to change the implementation of com/minitwit/dao/impl/MessageDaoImpl.java and com/minitwit/dao/impl/UserDaoImpl.java so the methods of those DAOs can work with OrientDB without breaking the interface contract (if a method returns a list of User objects, somehow the new implementation has to return it too).
You will have to change the dataSource() method of com/minitwit/config/DatabaseConfig.java so it returns a data source to an OrientDB database.
Sorry, I cannot help you with more implementation details because I don't know this database, but let me know if this helps you.
How can i change the HSQLBD with orientdb Graph ?
Thank you
The text was updated successfully, but these errors were encountered: