aspose file tools*
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


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "Enable Hibernate statistics MBean on Websphere" Watch "Enable Hibernate statistics MBean on Websphere" New topic
Author

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 !


Lakshmi
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 10207
    
166

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]
 
Don't get me started about those stupid light bulbs.
 
subject: Enable Hibernate statistics MBean on Websphere