Global modifySQL or hook to modify all sql

Hi all,

I would to use modifySql tag but with a global scope.
My aim is to replace globally all occurence to boolean values to the corresponding database specific values.
This is necessary for views creation.
Is there a trick or a good place to hook some java code ?
May be the execute function on Database classes ?


Oops, it seems I posted too quick.
The solution seems to be an extension using SqlGenerator extension point :

Yes, that is the best way to do it.

Glad you found it