Data access object (DAO) is an object that provides an interface of persisting objects of some domain in some storage. It provides an API of storing data objects into a database without exposing any details about which database is used or, in general, any specific details about an actual way of persisting data. Eclipse Che persists the following objects:
-
Users, user profile and preferences
-
Accounts
Examples of DAO in Che:
-
User DAO and an example of its implementation JpaUserDao
-
Workspace DAO and an example of its implementation JpaWorkspaceDao
-
Factory DAO and an example of its implementation JpaFactoryDao
Eclipse Che uses H2 for single-user builds and PostgreSQL database in a multi-user flavor.