Problem with mm.mysql and P6Spy

Kees Kuip
2003-02-01
2013-08-22
  • Kees Kuip
    Kees Kuip
    2003-02-01

    Hello,

    I use p6spy with the mm.mysql jdbc driver in combination
    with hibernate.

    It turns out that hibernate uses batch-updating. Now every
    sql-statement in this batch-update is not logged by
    p6spy. I think mysql uses in PreparedStatement.updateBatch
    lowerlevel methods that are not part of the jdbc-standard.
    So the result is that p6spy's nice logging isn't complete anymore.

    Any thoughts on this one ?

    Kees.

     
    • Pat
      Pat
      2009-03-13

      do you have a patch?

       
  • Pat
    Pat
    2010-12-29

    Hi there -

    Sorry for the late response. I think I am the only one who has recently done anything with p6spy. I got some basic access to this project from the only original developer I could reach. Unfortunately, not full project admin access. So I have moved over to github for further development.

    You are welcome to help out there by forking and then sending me a pull request.

    Further development at : https://github.com/patmoore/p6spy