portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ate Douma <...@douma.nu>
Subject Re: registry proxies
Date Wed, 05 Apr 2006 13:27:30 GMT
David Sean Taylor wrote:
> I'd like to change all the Registry proxy collection settings to
> 
> proxy="false"
> 
> specifically for the collections:
> 
> 1. displayNames
> 2. languageSet
> 3. contentTypes
> 4. parameterSet
> 5. securityRoleRefSet
+1
AFAIK, these collections are accessed each and every render request
thus these are loaded always anyway. Its probably then better performing too.

> 
> This enables true transactional support for all database activity. With
> proxied, lazy-loaded collections, we are having database access slipping
> through our DAO-controlled Spring transactions behaviors. This defeats
> the purpose of things like connection failover and interception-based
> failovers in general.
> 
> Im a little rusty on my OJB, as Ive been using Hibernate all week.
> Is there a reason to not use this kind of collection auto loading?:
> 
>          auto-delete="true"
>          auto-update = "true"
>          auto-retrieve = "true"
>          proxy="false"
+1 again
Note: proxy="false" is implied, so you can leave that out.

> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
> For additional commands, e-mail: jetspeed-dev-help@portals.apache.org
> 
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


Mime
View raw message