This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Object Relational Mapping and the fly likes Enable Hibernate statistics MBean on Websphere Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "Enable Hibernate statistics MBean on Websphere" Watch "Enable Hibernate statistics MBean on Websphere" New topic

Enable Hibernate statistics MBean on Websphere

Lakshmi Dasari
Ranch Hand

Joined: Mar 03, 2003
Posts: 35
Has anyone tried getting Hibernate sessionFactory Statistics MBean working on Websphere appserver 6.0? If yes, can someone provide the guidelines please. I could create Hibernate as a service in Websphere and initialize hibernate at server startup time, but am unable to find out how to get statistics as an Mbean on Websphere application server. I will post the solution if I manage to do it myself.

Thanks in advance !

Jaikiran Pai

Joined: Jul 20, 2005
Posts: 10441

I havent tried it with Websphere, but in JBoss i remember i had deployed a separate MBean to enable Hibernate Statistics. Something like:

Not sure if this will be of any help.

[My Blog] [JavaRanch Journal]
I agree. Here's the link:
subject: Enable Hibernate statistics MBean on Websphere
It's not a secret anymore!