Oliver Zeigermann wrote:

Oliver Zeigermann wrote:

Open issues.

1) All child store implementations (MySQL, JDBC, etc.) should save the
*binding* vectors instead of the children vector of ObjectNode.



This should mainly be the J2EE / JDBC store. This will be on my list!


I checked the implementation and it really seems easy to make this adaption.

I propose:

1.) A general change in DB schema: replace children table with a binding and a parentBinding table like this:

CREATE TABLE BINDING (
    URI_ID          id_type               NOT NULL
        REFERENCES  URI (URI_ID),
    CHILD_UURI_ID    id_type               NOT NULL
        REFERENCES  URI (URI_ID)
)

CREATE TABLE PARENT_BINDING (
    URI_ID          id_type               NOT NULL
        REFERENCES  URI (URI_ID),
    PARENT_UURI_ID    id_type               NOT NULL
        REFERENCES  URI (URI_ID)
)

...which lacks the name, so what about this:


CREATE TABLE BINDING (
    URI_ID          id_type               NOT NULL
        REFERENCES  URI (URI_ID),
    NAME            uri_str_type          NOT NULL,
    CHILD_UURI_ID    id_type              NOT NULL
        REFERENCES  URI (URI_ID)
)

CREATE TABLE PARENT_BINDING (
    URI_ID          id_type               NOT NULL
        REFERENCES  URI (URI_ID),
    NAME            uri_str_type          NOT NULL,
    PARENT_UURI_ID    id_type             NOT NULL
        REFERENCES  URI (URI_ID)
)




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



Reply via email to