Hi,
I'm trying to map some tables with OJBs but don't know how to express their relation. Maybe someone can give me a hint.


I have three tables:
articles with OID as primary key
categories with OID as primary key
custom_fields with OID as primary key, OID_FK as foreign key

OID is generated uniquely over all tables in a format: "first 3 letters of the table name" plus a "incrementing value". E.g. cat01,art02,art03,cus04.

An article as well as a category can have a custom field that is stored in the custom_fields table, the OID_FK is the OID of the related article or category. The first three letters of OID indicate the "object type" article or category.

How do I have to configure the repository.xml so that always the right object (a category or an article) is referenced by an customField object?

Thanks in advance,
Sebastian


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to