Re: object databases



In article <eiscn2$bd4$1@xxxxxxxxxxxxxx>, Sasa <sasa555@xxxxxxxxx> wrote:

"Frans Bouma" <perseus.usenet.NOSPAM.@xxxxxxxxx> wrote in message
news:xn0eth1al6dlbp002@xxxxxxxxxxxxxxxxx
frebe73@xxxxxxxxx wrote:
Also, the code is db agnostic: it works on any db supported by the
O/R mapper.

Since you brought this up - are there mappers which support non relational
storages (XML, proprietary formats, etc.)?

I'd suggest that peple look at Apple's WebObejcts, which includes Apple's
'Enterprise Objects Foundation', 'EOF', which is, among other things an
O/R mapper.

However, where Hibernate directly maps database constructs to Java
contstructs (essentially, tables to classes, etc), EOF uses an
Entity-Relationship model, which is then mapped to tables & columns on one
side, and to classes and fields on the other - though EOF can in fact use
a 'generic object' class (essentially a dictionary / hashtable) to
represent any entities for which you don't need to implement any bespoke
logic. WebObjects (and EOF) underly the iTunes Music Store, for instance.

EOF allows you to write your own 'database adaptor' classes; there have
been those that use flat files. It is generally used with relational
databases, though.


More recently, Apple have (as part of their Cocoa frameworks) introduced
'Core Data', which is not a general Object-relational modeler, but instead
is billed as an 'object graph management system', and which can use either
a relational database (SQLite) or an XML file as its underlying datastore
for persistence. However, with Core Data, you just design your object
model, and don't have any specific control over the database schema.

Sasa

Best wishes,

// Christian Brunschen
.



Relevant Pages

  • Re: The old o/r mapper question
    ... O/R Mapper that provides the following: ... Should let you build the Object Model seperate from the Database. ... Support for pre-fetches or JOINS (if i'm getting a list of the top 30 ... is still spinning and I still haven't been able to "Standardize" on a single ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: acceptable way to program
    ... > provide a poor man's object database. ... Hibernate is a good example of the latter. ... I know of no O/R mapper that's really universally outstanding ... in being able to map an existing database schema in an ideal way. ...
    (comp.lang.java.programmer)
  • Re: object relational mapping
    ... > Anyone got any ideas/sample code on how to construct classes which ... > map to database tables, in particular the CRUD type code. ... I've spend the last 3 years writing an O/R mapper. ...
    (microsoft.public.dotnet.framework.adonet)
  • Re: problems reading a field in Data Base
    ... Are there other tables in the SAME database as the COMPANY table and is other code functioning OK? ... Doug Steele, Microsoft Access MVP ... But how come it is EOF, I know there is data in the field??? ...
    (microsoft.public.access.modulesdaovba)
  • Problem with UTF8 and Default Roles
    ... I get a -23103 error when trying to use dbschema on a UTF8 database that contains default roles. ... $ dbaccess -a sysmaster << EOF ... grant connect to "tgirsch"; ...
    (comp.databases.informix)