ODMG 3.0 |
ODMG 3.0 is a portability specification. It is designed to allow for portable applications that could run on more than one product. ODMG 3.0 uses the Java, C++, and Smalltalk languages as much as possible, to allow for the transparent integration of object programming languages. The major components of ODMG 3.0 specification are:
It is possible to read and write the same database from C++, Smalltalk, and Java, as long as the programmer stays within the common subset of supported data types. Note that, unlike SQL in relational systems, the ODMG data manipulation languages are tailored to specific application programming languages, in order to provide a single, integrated environment for programming and data manipulation. This is called transparent persistence. Such transparent persistence is illustrated by the following diagram and contrasts with the database sublanguage of SQL and its variants. In this diagram, you only see the host programming language and no database sublanguage or call-level interface as in JDBC.
An example of a host statement in Java that creates a new Person instance would be:
This code fragment would be all the code necessary to create a new person. There is no database sublanguage or call interface. If you wanted to manipulate this object in Java, you could use the object directly. Also see transparent persistence vs. JDBC call-level interface (new window). For more information on transparent persistence, see:
Read more free articles on this siteThere are nearly 400 pages of articles on this site with over 40 pages on database concepts and standards. Search this site for more articles
Custom Search
Browse this site for more articlesClick on the topics below to browse the articles on this site.The arrows show the path to the current article: ODMG 3.0.
Related books at Amazon.com
More related books: Search Amazon.com for ODMG 3.0
Copyright © 2000-2009 Barry & Associates,
Inc. All Rights Reserved.
|
| |||||||||||||||||||||||||||||||||||||||||||||||
|