db4objects is an object-oriented database that can be used locally or in a client/server configuration. It supports basic CRUD operations through a single DLL reference. The documentation provides information on installation, basic usage through sample code, and a demo of one-to-one relationships and queries using inheritance. Issues discussed include data dependence on classes and lack of database-level constraints or portability.
1 of 11
More Related Content
DB4O - OO Database Implementation
1. db4objects
Object-Oriented Database
March 2010
Jaider Ariza Luc Van Cam Bala Singam
3. db4objects
Installation
Software available from web site: http://db4o.
com/
Latest production version: 7.12
Three releases: For Java, .NET 2.0, and .NET
3.5
Object Manager is a plug-in for Visual Studio
to manage databases.
4. db4objects
Basic Usage
Two modes of operation: Local and
Client/Server
Demo is in .NET
To program with db4o, add reference to 1
DLL: Db4objects.Db4o.dll
5. db4objects
Sample Code
Open a database
IObjectContainer db = Db4oEmbedded.OpenFile
(DatabaseFileName)
Store an object
db.Store(newStudent)
Retrieve objects by QBE
db.QueryByExample(sampleStudent)
Update an object
db.Store(existingStudent)
Delete an object
db.Delete(aStudent)