Page tree
Skip to end of metadata
Go to start of metadata

If you are using MoSKito AOP and Hibernate in your application, this recipe explains how to add hibernate jdbc calls to monitoring.

Steps below related to configuring AOP plugin in your pom.xml:

  1.  add moskito-sql dependency
  2.  add moskito-sql as aspect library
  3.  add hibernate dependency to be weaved
  4.  add Xlint:warning property

Code snippet: 


Compile and run your application, do some steps related to hibernate jdbc calls, find in moskito-inspect sql monitored calls: 

  • No labels