#13 Monitor Hibernate calls?

closed
nobody
5
2007-03-06
2006-07-17
Benoit Xhenseval
No

Hi

In a similar fashion to the SQL monitoring, I wonder if
it would be possible to extend JAMon to provide some
ways of monitoring either the Hibernate calls AND/OR
the SQL calls inside Hibernate (without having to
modify Hibernate itself...)

That'd be great.

Just a thought...

Benoit

Discussion

  • Steve Souza
    Steve Souza
    2006-07-17

    Logged In: YES
    user_id=828052

    I am unfamiliar with hibernate.

    In the next release I hope to have a jamon database driver
    that points to an underlying actual driver. Then hibernate
    could access the jamon driver, and monitoring will
    automatically occur. This would be relatively simple if I
    had knowledge of writing a database driver. If anyone has
    done this let me know.

    Also, if hibernate has interfaces you can monitor a
    hibernate interface with the following:

    HibernateInterface monitored=(HibernateInterface)
    MonProxyFactory.monitor(hibernateObject);

     
  • Steve Souza
    Steve Souza
    2007-03-06

    Logged In: YES
    user_id=828052
    Originator: NO

    I believe the jamon jdbc driver solves this problem

     
  • Steve Souza
    Steve Souza
    2007-03-06

    • status: open --> closed