>> Hibernate got everything you need to run JCS, are you sure you
>> put the cache.ccf in the classpath, it's more likely the issue here.
Yup. The cache.ccf from the Hibernate build is in my class path. This is
the full exception I was gettting:
WARNING: Could not instantiate cache - probably
Thanks for the link. I followed some of the further reading links and ended
up at http://www.javageeks.com/Papers/ClassForName/ClassForName.pdf.
On page 14, I found the following:
"Using Thread.getContextClassLoader relies on the Thread's context
ClassLoader to be appropriately set. What if the
>I'm new to Hibernate and have a simple question: Must Hibernate's
>config file (not the mapping file, but the config/properties file) be in
>the classpath? If not, how do I use it to configure Hibernate?
>Hibernate.configure does not accept a URI and I don't see any other
>methods that would d
>It comes from your auxiliary DC (Disk Cache ) cache.
>My guess is that the path you gave to store objects on the disk is not
>correct or it's a file permission issue.
oh yeah. stupid. I didn't notice the SEVERE. yeah, ummm ... what he said...
just try disabling the auxiliary cache for a start.
It comes from your auxiliary DC (Disk Cache ) cache.
My guess is that the path you gave to store objects on the disk is not
correct or it's a file permission issue.
Try to comment the DC cache to test this.
Chris
- Original Message -
From: "Urberg, John" <[EMAIL PROTECTED]>
To: "'Christ
- Original Message -
From:
To: "Christian Meunier" <[EMAIL PROTECTED]>
Cc: "Urberg, John" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Friday, August 09, 2002 3:48 PM
Subject: Re: FW: [Hibernate-devel] Getting Collections to pull data from the
cache
>
> >you can of course use usage='r
> >Here i dont understand ( beside the fact that there is a technical issue
i
> >dont figure out ) , why i would want to get 2 JCS cache region for the
> >exactly same class of objects ?
>
> well, for a start we have toplevel collections which don't actually belong
> to any class a particular
>And I would expect 3 SQL statements with all the many-to-ones and
>collections should get resolved from the cache.
To enable caching, you need to add
to all , , , , , elements
that you want to cache.
:)
>My first shot at this returned:
>
>cirrus.hibernate.HibernateException: You tried to p
>you can of course use usage='read-only' isnt it ?
yes, if appropriate.
>I am wondering something here:
>
>If we got this simple one to many:
>
>i have declarated the class bar and the class foo to use jcs-cache,
shoudnt
>the collection of bar in the class foo cached automatically ?
No.
>If i
>>And I would expect 3 SQL statements with all the many-to-ones and
>>collections should get resolved from the cache.
>
>To enable caching, you need to add
>
>
>
>to all , , , , , elements
>that you want to cache.
Ahh, I thought that was optional. That would explain it.
So I tried it out and
10 matches
Mail list logo