Web / Apache OFBiz Interview questions
What is the Entity Engine in OFBiz?
The Entity Engine is OFBiz's built-in data access and persistence layer. It sits between the applications and the underlying relational database, so no application code writes raw SQL.
Entities (tables) and their fields, relations, and indexes are declared once in XML files such as entitymodel.xml. At runtime the Entity Engine reads that model and generates the SQL for you, working across multiple database backends (Derby, PostgreSQL, MySQL, Oracle) from the same definitions.
Data is fetched and manipulated as GenericValue objects through a delegator, and the engine also provides transaction management, entity-level caching, and audit/history support out of the box.
More Related questions...