[email protected]
Subject: Re: [Hibernate] Caching
of collections
You stated "there are some subtle concurrency
issues" and that was what I keyed off on. I observed that we found Doug
Lea's code extremely helpful in dealing with concurrency issues between a
mem
PROTECTED]] On Behalf Of Lane
Sharman
Sent: Tuesday, 10 May 2005 6:42 PM
To: [email protected]
Subject: Re: [Hibernate] Caching of collections
the webmacro team (http://www.webmacro.org) struggled with many
concurrency issues in its rendering engine several years ago.
after m
@lists.sourceforge.net
Subject: Re: [Hibernate] Caching of collections
the webmacro team (http://www.webmacro.org) struggled with many
concurrency issues in its rendering engine several years ago.
after much tribulation, we decided on using Doug Lea's conncurrent.jar.
It solved some am
bject: [Hibernate] Caching of collections
I noticed that we don't put the collection in cache when creating an
object
ie
item.addDistributors( new HashSet() );
session.persist(item);
item will be in put in cache, but not item.distributors.
Any reason for not
Yes, there are some subtle concurrency issues.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Emmanuel Bernard
Sent: Monday, 9 May 2005 4:52 AM
To: [email protected]
Subject: [Hibernate] Caching of collections
I noticed that we don
I noticed that we don't put the collection in cache when creating an object
ie
item.addDistributors( new HashSet() );
session.persist(item);
item will be in put in cache, but not item.distributors.
Any reason for not doing that?
---
This SF.Net
On Tue, 21 Dec 2004 11:03:08 +0100, Joris Verschoor <[EMAIL PROTECTED]>
wrote:
Hi,
I was wondering weather it's a good idea to make a patch to cache the
generated classes by hibernate. This, to reduce startup time even more.
Let me know, if I should try to whip something up
I did a quick try
Hi,
I was wondering weather it's a good idea to make a patch to cache the
generated classes by hibernate. This, to reduce startup time even more.
Let me know, if I should try to whip something up
Joris
---
SF email is sponsored by - The IT Prod
PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, September 29, 2003 7:56 AM
Subject: [Hibernate] Caching cglib generated runtime proxies?
> Hi All,
>
> I'm wondering if it's possible to do some generated-code at build time
> instead of generating the proxies at
me is a mere 1.4
seconds!
Now to figure out why adding all my classes still consumed 4 seconds.
-Original Message-
From: Gavin King [mailto:[EMAIL PROTECTED]
Sent: Monday, September 29, 2003 5:37 AM
To: Mao, Dean (IHG)
Cc: 'Andrea Aime'; '[EMAIL PROTECTED]'
Subject
- Original Message -
From: "Mao, Dean (IHG)" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, September 29, 2003 8:44 AM
Subject: RE: [Hibernate] Caching cglib generated runtime proxies?
> How would I turn on debug for cglib? looking at the api, it se
perty
doesn't seem to do anything when Hibernate initializes.
-Original Message-
From: Juozas Baliuka [mailto:[EMAIL PROTECTED]
Sent: Monday, September 29, 2003 1:21 AM
To: Mao, Dean (IHG); [EMAIL PROTECTED]
Subject: Re: [Hibernate] Caching cglib generated runtime proxies?
There is syste
meaning... you can't set this attribute in the Configuration.setProperty()?
-Original Message-
From: Gavin King [mailto:[EMAIL PROTECTED]
Sent: Monday, September 29, 2003 5:37 AM
To: Mao, Dean (IHG)
Cc: 'Andrea Aime'; '[EMAIL PROTECTED]'
Subject: Re: [Hibernate
Bauer [mailto:[EMAIL PROTECTED]
Sent: Monday, September 29, 2003 5:09 AM
To: [EMAIL PROTECTED]
Subject: Re: [Hibernate] Caching cglib generated runtime proxies?
On 29 Sep (03:17), Mao, Dean (IHG) wrote:
> for a startup time of 2.5 seconds, how many persisted classes are you
using
> with hibe
onday, September 29, 2003 3:44 AM
To: Mao, Dean (IHG)
Cc: '[EMAIL PROTECTED]'
Subject: Re: [Hibernate] Caching cglib generated runtime proxies?
Mao, Dean (IHG) wrote:
35 classes in 2.5 seconds? I don't believe you!
Are you always so polite with people trying to help you? ;
On 29 Sep (03:17), Mao, Dean (IHG) wrote:
> for a startup time of 2.5 seconds, how many persisted classes are you using
> with hibernate?
I'm having 50, ca. 2 seconds, Pentium M 1.6 Ghz.
--
Christian Bauer
[EMAIL PROTECTED]
---
This sf.net e
for a startup time of 2.5 seconds, how many persisted classes are you using
with hibernate?
-Original Message-
From: Andrea Aime [mailto:[EMAIL PROTECTED]
Sent: Monday, September 29, 2003 3:15 AM
To: Mao, Dean (IHG)
Cc: '[EMAIL PROTECTED]'
Subject: Re: [Hibernate] Caching cglib
nagement type
people... :-/
-Original Message-
From: Andrea Aime [mailto:[EMAIL PROTECTED]
Sent: Monday, September 29, 2003 3:44 AM
To: Mao, Dean (IHG)
Cc: '[EMAIL PROTECTED]'
Subject: Re: [Hibernate] Caching cglib generated runtime proxies?
Mao, Dean (IHG) wrote:
>35 classes in 2.5 secon
Mao, Dean (IHG) wrote:
35 classes in 2.5 seconds? I don't believe you!
Are you always so polite with people trying to help you? ;-)
I have optimized the
logging too. How are you getting around the cglib initialization? The
majority of my hibernate initialization time is consumed by the cgli
Aime [mailto:[EMAIL PROTECTED]
Sent: Monday, September 29, 2003 3:27 AM
To: Mao, Dean (IHG)
Cc: '[EMAIL PROTECTED]'
Subject: Re: [Hibernate] Caching cglib generated runtime proxies?
Mao, Dean (IHG) wrote:
>for a startup time of 2.5 seconds, how many persisted classes are you using
>wit
Mao, Dean (IHG) wrote:
for a startup time of 2.5 seconds, how many persisted classes are you using
with hibernate?
35 classes. Oh, also disabling the logging provides a good improvement:
LogManager manager = LogManager.getLogManager();
manager.reset();
This is a bit crude, better modify the lo
Mao, Dean (IHG) wrote:
Hi All,
I'm wondering if it's possible to do some generated-code at build time
instead of generating the proxies at runtime. I'm using hibernate for a
swing application and the majority of the initialization time is taken up by
hibernate's initialization of the configurati
Hi All,
I'm wondering if it's possible to do some generated-code at build time
instead of generating the proxies at runtime. I'm using hibernate for a
swing application and the majority of the initialization time is taken up by
hibernate's initialization of the configuration object. (I've alread
I've been trying to estimate how caching would influence the performance of
my app. This app has a lot of parent-child relationships in different
configurations, i.e. each object have childs in a bag, and mapped (two
one-many relations). During the test I've added about 1000 objects randomly
select
Collections are cached if (only if) they have their
own subelement.
- Original Message -
From:
Joost van de Wijgerd
To: Gavin King
Cc: hibernate list
Sent: Wednesday, October 09, 2002 11:33
PM
Subject: [Hibernate] Caching
Gavin,
Relating to the
Gavin,
Relating to the cache, I gather that collections
that are defined inside a mapping are not cached?
one would assume that you won't have to do a select
for these collections since they can only
be changed through the object itself? probably i'm
wrong, but i just wanted to check this w
26 matches
Mail list logo