Menu

review MDX in every MDX change

Help
khandur
2008-02-27
2013-04-29
  • khandur

    khandur - 2008-02-27

    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.

     
    • Julian Hyde

      Julian Hyde - 2008-02-27

      From mondrian-3.0 there is a logger that prints each MDX statement: see http://mondrian.pentaho.org/documentation/configuration.php#Statement_Logging

      Julian

       
    • khandur

      khandur - 2008-02-28

      But I need to modify this MDX code too, using this mondrian-3.0 logger I can modify de code too?

       
      • Julian Hyde

        Julian Hyde - 2008-02-28

        No. You'll need a different solution.

         

Log in to post a comment.