Configured for PostgreSQL, I get a builder A extending builder B fails
to get loaded, with the message "Cannot extend the builder with name A".
Judging from the org.mmbase.module.database.support.PostgreSQL71
sourcecode, custom builders can apparently never be extended, given this
code snippet:

    public boolean isAllowedParentBuilder(MMObjectBuilder builder) {
        String buildername=builder.getTableName();
        return buildername.equals("object") ||
buildername.equals("insrel");
    }

How can this be, considering PostgreSQL supports table inheritance?
PostgreSQL is a popular database in the MMBase community, I certainly
expected inheritance to be supported in this config. Is there a fix or
workaround, that is other than not using builder inheritance?


Rob van Maris
Technical Consultant

Quantiq
xmedia & communication solutions



Reply via email to