It looks like it's working from a "put" perspective, but is it working
from a "read" perspective? I'm not that familiar with Hibernate
caching so you might have better luck reading their documentation or
asking this question on their forums.
Matt
On Fri, Oct 9, 2009 at 5:51 AM, Nelson Biasura
wr
After hours of research and testing.. I finally made the logging work..
I added @Cache annotation in my Object
then the logs came out in my tomcat. Putting @Cache annotation in object
that i wanted to be cache and configuring ehcache.xml and
adding the below code in log4j.xml is what i did so f
If this were working, an example like the xml you provided would be
quite useful...once you are satisfied that it is working, can you please
post another message like this one, so it might show up when folks are
searching for an answer to this same question?
-Dale
---
I would turn up logging on Hibernate and EhCache to see if the cache
is being used. You should be able to do this in your log4j file.
Matt
On Thu, Oct 8, 2009 at 2:01 AM, Nelson Biasura
wrote:
> After configuring ehcache.xml adding my object (GroupProduct)
>
> Code: ehcache.xml
> ---
After configuring ehcache.xml adding my object (GroupProduct)
Code: ehcache.xml
--
--
Log the measure the milliseconds load in DaoHibernate:
Code: GroupProductDaoHibernate
--
I believe adding the object into ehcache.xml is enough, but you might
want to check EhCache/Hibernate documentation to be sure.
Matt
On Wed, Oct 7, 2009 at 10:15 AM, Nelson Biasura
wrote:
> Thanks for the clarification Matt. Another thing do i still need to add
> @Cache annotation in the object
Thanks for the clarification Matt. Another thing do i still need to add
@Cache annotation in the object that
i want to be cache or adding the object into ehcache.xml is enough that
i dont need to configure anything anymore
and ready for second level caching?
Thanks for letting me understand.
No, you should not need to do anything additional - EhCache is enabled
by default. You might want to modify ehcache.xml to configure which
objects to cache though.
Matt
On Wed, Oct 7, 2009 at 7:28 AM, Nelson Biasura
wrote:
> Hello,
>
> Im using Appfuse 2.0.2 and I trying to configure second leve