thanks bstansberry for the information.
I have been able to solve my problem. My persistence.xml has the following
configuration:
|
|
|
It does not include
|
|
|
My treecache.xml mentions about the transaction manager lookup class as:
org.jboss.cache.GenericTransa
Please use the "code" button when pasting XML and such. You can click the
"Preview" button before posting to see if your post will display correctly.
Now guessing what your post was...
Are you specifying:
hibernate.transaction.manager_lookup_class=org.jboss.cache.transaction.GenericTransaction
Thanks a lot bstansberry. Your post was very useful for me.
According to what u said , I have now configured my hibernate as:
But when I run my application, I get the following error:
Exception in thread "main" java.lang.NoClassDefFoundError:
org/jboss/cache/Transac
For the Hibernate 2nd level cache case, how this works depends on what
implementation of the org.hibernate.cache.CacheProvider interface you specify
when you set the hibernate.cache.provider_class property in you Hibernate
config.
If you use the most common one, org.hibernate.cache.TreeCachePro
Umm, Cache.start() ? :-)
I take it you have read this chapter in the JBC user guide, and/or the tutorial?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4139214#4139214
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=413