File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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 Groovy Fundamentals video training course this week in the Groovy 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: 10425
    
175

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]
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Enable Hibernate statistics MBean on Websphere