休眠mbean
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了休眠mbean相关的知识,希望对你有一定的参考价值。
<mbean code="org.jboss.hibernate.jmx.Hibernate" name="jboss.har:service=Hibernate"> <depends>jboss:service=Naming</depends> <depends>jboss:service=TransactionManager</depends> <depends optional-attribute-name="DeployedTreeCacheObjectName">jboss.har:service=HarSecondLevelCache</depends> <attribute name="DatasourceName">java:/DefaultDS</attribute> <attribute name="SessionFactoryName">java:/hibernate/SessionFactory</attribute> <attribute name="Dialect">org.hibernate.dialect.HSQLDialect</attribute> <!-- I've had off-and-on problems with HSQL and batching. The HSQLDialect enables batching by default; uncomment this if there is trouble batching against HSQLDB. <attribute name="JdbcBatchSize">0</attribute> --> <attribute name="CacheProviderClass">org.jboss.hibernate.cache.DeployedTreeCacheProvider</attribute> <attribute name="SessionFactoryInterceptor">org.jboss.test.hibernate.SimpleInterceptor</attribute> <attribute name="Hbm2ddlAuto">create-drop</attribute> </mbean>
以上是关于休眠mbean的主要内容,如果未能解决你的问题,请参考以下文章
求助,Windows 2008如何配置睡眠(Sleep)、休眠(hibernate)、混合休眠(Hybird Sleep)、标准睡眠(Standby)