persistence@glassfish.java.net

Re: a few questions

From: Rebecca Parks <June.Parks_at_Sun.COM>
Date: Wed, 02 Aug 2006 11:10:51 -0700

You can also find info on TopLink caching and connections here:

http://docs.sun.com/app/docs/doc/819-3659/6n5s6m593?a=view

June

Joseph B. Ottinger wrote On 08/01/06 06:31,:

> Thanks for the clarification, Mr. Yorke. I knew NONE wasn't
> recommended - but didn't know about the active danger spots in there.
> I suppose I should have read a little bit more about some of the other
> settings - but that's why I made sure the URL was in there, so people
> would know where to look.
>
> On Tue, 1 Aug 2006, Gordon Yorke wrote:
>
>> 1) None is NOT RECOMMENDED. Cycles in your model with eager loading
>> can result in infinite recursion. When using Essentials a Weak cache
>> will effectively result in no caching.
>> 2)
>> http://www.oracle.com/technology/products/ias/toplink/jpa/resources/toplink-jpa-extensions.html#toplink.jdbc.read-connections.max
>> setting the connections min and max values configure for
>> read-connections, write-connections will update the respective
>> connection pools in Java SE deployments.
>>
>> 3) What sort of memory settings are you looking for? Any heap
>> settings, GC settings are set through VM properties when starting the
>> application.
>>
>> --Gordon
>>
>>
>> -----Original Message-----
>> From: Joseph B. Ottinger [mailto:joeo_at_enigmastation.com]
>> Sent: Tuesday, August 01, 2006 7:24 AM
>> To: persistence_at_glassfish.dev.java.net
>> Subject: Re: a few questions
>>
>>
>> I don't know how to control the settings for SE, but toplink caching:
>>
>> http://www.oracle.com/technology/products/ias/toplink/jpa/resources/toplink-jpa-extensions.html#TopLinkCaching
>>
>>
>> Set toplink.cache.type.default property to NONE and you should be off
>> and
>> running.
>>
>> On Tue, 1 Aug 2006, Sanjeeb Kumar Sahoo wrote:
>>
>>> Hi,
>>>
>>> Can anyone answer these questions?
>>>
>>> Q. How do I disable toplink caching?
>>>
>>> Q. How do I control connection pool settings for Java SE entity
>>> manager?
>>>
>>> Q. How do I control memory settings for Java SE entity manager?
>>>
>>> Thanks,
>>> Sahoo
>>>
>>
>> -----------------------------------------------------------------------
>> Joseph B. Ottinger http://enigmastation.com
>> Editor, http://www.TheServerSide.com joeo@enigmastation.com
>>
>
> -----------------------------------------------------------------------
> Joseph B. Ottinger http://enigmastation.com
> Editor, http://www.TheServerSide.com joeo@enigmastation.com