Emile wrote:
> does anyone have any experience with SearchQuery in mmbase - in particular
> multiple relation steps?  Is there an easier way?  It seems to be generating
> incorrect SQL, if one adds more than one relation step, it adds insrel again
> into the SQL.

I don't understand your problem, it is a bit tricky, but not difficult at all.

What excactly did you try to do? Did you read the tutorial and/or API-doc, did you 
looked at code
using SearchQuery? (it is used on several places in mmbase itself).


> A part of me wants to throw in the towel, take the SQL, fix it and run it as
> is against the DB - is there a generic db object in mmbase or do we have to
> set up another db pool mechanism to query the database in a custom servlet?

Do you use bridge or core to implement the servlet?

 Michiel

-- 
Michiel Meeuwissen                  mihxil'
Mediacentrum 140 H'sum                [] ()
+31 (0)35 6772979         nl_NL eo_XX en_US




Reply via email to