Two Reasons for Wide Adoption of ODBMS

Object-oriented Database Management System (ODBMS) fosters the adoption of object-oriented programming in industrial applications by enabling transparent persistence and type-safe querying.

1. Transparent Persistence

Transparent Persistence

With transparent persistence, the manipulation and traversal of objects stored in a database is performed directly by an object-oriented programming language (e.g., C++, Java, C#, etc.) in the same manner as temporary in-memory objects.

Because mapping from objects to other storage formats (such as tables in RDBMS) is not necessary any more, applications can benefit from transparent persistence in the following aspects:

  • less and cleaner code
  • higher performance

2. Type-safe Querying

Type-safe Querying

The traditional way of querying data from a database is passing a string-based query (such as SQL) to the database engine which then analyses the query and returns the required data. This approach is quite tedious and error-prone.

In the age of object-oriented programming, type-safe querying has rapidly gained popularity and appreciation. In this new approach, object methods are used to express queries which can then be checked for type-safety at compile-time. Language Integrated Query (LINQ) and Native Queries are two popular object-oriented, type-safe querying mechanisms.

To sum up: transparent persistence and type-safe querying greatly help developers implement applications in an easier and more secure way, and they have been becoming the driving factor of wide adoption of ODBMS.

Top