Profiling JPA/Hibernate

Thursday, January 26, 2012 | Posted by

The screen cast below shows the capabilities of the JPA/Hibernate probe in JProfiler. It presents the events view of the probe that shows a chronological progression of persistence operations as well as the hot spots view that shows back traces and associated JDBC statements.

10 comments

  1. Really cool feature :) I always needed JPA persistency operations measures for my Java EE based applications to optimize some queries and couldn't find anything easy, handy and usefull for this job. Good stuff ! :)

    Ps. Is / will be this screencast available on youtube ? I would like to share this screencast on my blog and would be glad to get share access to this podcast.

    ReplyDelete
  2. Thanks for the positive feedback! Youtube is a good idea, I've uploaded all screen casts to my account:

    http://www.youtube.com/user/IngoKegel/featured

    ReplyDelete
    Replies
    1. This comment has been removed by the author.

      Delete
  3. Great :) Thanks a million. I shared this screencast on my blog.
    Similar feature for NoSQL DBs (NoSQL Profiling) would be highligly recommended (since two years lots of Java EE based applcations moved to NoSQL DBs).
    For instance for DBs such as: Neo4j, Mongo DB, CouchDB this feature would be worth of considering :)

    ReplyDelete
  4. NoSQL probes are planned for JProfiler 8. Please feel free to add a link to your blog here.

    ReplyDelete
  5. Hibernate is a ORM library that maps your JavaBeans to your data persistence. Both ORM and JPA have a object/relational metadata for mapping POJO's to DB tables.

    ReplyDelete
  6. ดีได้รู้ข้อมูลเพิ่มมากขึ้น

    ReplyDelete
  7. In a nutshell great video. Can i know the difference between "Get" and "Query" in EventType column

    ReplyDelete
    Replies
    1. "Get" is something like session.load(Order.class, orderId), "Query" is something like session.createQuery("from Order where paid = false")

      Delete