| [News.eclipse.technology.eclipselink] Re: Switching Maya to JPA / EclipseLink |
Timothy Webb wrote:
In my use of TopLink Essentials in RCP I was using the internal connection pooling without any problems but I didn't have long periods of idle time so I never experienced any timeout problems. Are you using the built in connection pooling or are you using you're container's connection pool?
We are using the internal connection pooling since currently not running within a container.
theThis was a very helpful reference and following it I've been able to get
nativedesired caching behavior. One quirk I've noticed is that if I issue a
query bound to a particular object, and only request the primary key field, the object has all fields empty even if the object was already populated in the cache. Is this the expected behavior?
onOr asking it another way, what would you recommend if I wanted to get the current list of objects from the DB, but the objects were large so I would rather not load all of the fields
each request assuming the objects are already in the cache?
I've tried executing a native query with response time as Vector and then doing subsequent queries, or an IN clause, but this seems a bit ugly.
--Shaun