I´m developing a kind of a filter to my jpivot queries, and to do this I need to review the MDX code in every MDX change, like each user ´s click on a plus signal.
Where is the best location to I put my algoritmin that analize MDX code?
I was thinking in call a servlet after each page refresh, and in this servlet read and change the MDX code from MondrianMdxQuery object in session, but this is a kind o work around.
There is anyone with a better idea, or any other idea or hint?
Thanks in advance.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi people.
I´m developing a kind of a filter to my jpivot queries, and to do this I need to review the MDX code in every MDX change, like each user ´s click on a plus signal.
Where is the best location to I put my algoritmin that analize MDX code?
I was thinking in call a servlet after each page refresh, and in this servlet read and change the MDX code from MondrianMdxQuery object in session, but this is a kind o work around.
There is anyone with a better idea, or any other idea or hint?
Thanks in advance.
From mondrian-3.0 there is a logger that prints each MDX statement: see http://mondrian.pentaho.org/documentation/configuration.php#Statement_Logging
Julian
But I need to modify this MDX code too, using this mondrian-3.0 logger I can modify de code too?
No. You'll need a different solution.