Thanx Rob! 

It has been solved. The problem was the lookup.xml, it works now!

Edwin

-----Oorspronkelijk bericht-----
Van: Rob van Maris [mailto:[EMAIL PROTECTED]
Verzonden: donderdag 2 oktober 2003 19:07
Aan: [EMAIL PROTECTED]
Onderwerp: RE: Builder inheritance, MySQL


<Edwin van der Elst:>
> Is there a configuration somewhere to enable this behaviour? (I use
MMBase 1.6.5)  

Probably - it's not well documented.

On startup, the logfile should contain messages like these, indicating
that "relational" has been selected:

INFO  mmbase.module.database.JDBCProbe run.?  - JDBC probe starting
INFO  org.mmbase.util.DatabaseLookup match.?  - Selected database:
'relational' based on 4 rules in it's filter.(com.mysql.jdbc.Connection)
INFO  mmbase.module.core.MMBase getDatabase.?  - Using class:
'org.mmbase.storage.database.RelationalDatabaseStorage' with config:
'C:\Program Files\Apache Group\Tomcat
4.1\webapps\portal\WEB-INF\config\databases\relational.xml'.

If this is not the case, verify that the property "database" in
mmbaseroot.xml (in /WEB-INF/config/modules) is commented out (or not
set).
This ensures that the storage class will be selected according to the
settings in jdbc.xml.

In the case of MySQL "relational" will be selected, which supports the
kind of inheritance you are looking for.

Rob van Maris
Technical Consultant

Quantiq
xmedia & communication solutions

Koninginneweg 11-13
1217 KP Hilversum
 
T    +31 (0)356257211
M    +31 (0)642258660
E    [EMAIL PROTECTED]


Reply via email to