Hello,
I'm a bit confuse with JBoss AS 5.1.0 concerning Caching.
I switch my application from JBoss AS 4.2 to 5.1.0 and I'm little surprise to see that
doesn't work.
So I look the documentation on the
http://www.jboss.org/file-access/default/members/jbossejb3/freezone/docs/...
but change nothing. I have a not classFound
org.hibernate.cache.jbc2.JndiMultiplexedJBossCacheRegionFactory etc etc
Conf on Jboss 4.2.3
| <persistence-unit name="OracleTest">
|
| <jta-data-source>java:/oracleDSTest</jta-data-source>
| <properties>
| <property name="hibernate.hbm2ddl.auto" value="update"
/>
| <property name="hibernate.cache.use_second_level_cache"
value="true"/>
| <property name="hibernate.cache.use_query_cache"
value="true"/>
| <property name="hibernate.cache.region.factory_class"
value="org.hibernate.cache.jbc2.JndiMultiplexedJBossCacheRegionFactory"/>
| <property name="hibernate.cache.region.jbc2.cachefactory"
value="java:CacheManager"/>
| <property name="hibernate.cache.region.jbc2.cfg.entity"
value="mvcc-entity"/>
| <property name="hibernate.cache.region.jbc2.cfg.query"
value="local-query"/>
| <property name="hibernate.cache.region_prefix"
value="OracleTest"/>
| <property name="hibernate.show_sql" value="true" />
| </properties>
| </persistence-unit>
|
Anyone can help me to know how to set up caching on JBOSS 5.1.0 ?
Regards, Jérôme
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258668#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...