portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tay...@apache.org
Subject svn commit: r391832 - /portals/jetspeed-2/trunk/components/registry/src/java/JETSPEED-INF/ojb/registry_repository.xml
Date Wed, 05 Apr 2006 22:19:31 GMT
Author: taylor
Date: Wed Apr  5 15:19:29 2006
New Revision: 391832

URL: http://svn.apache.org/viewcvs?rev=391832&view=rev
Log:
set proxy to falase as discussed on dev list

proxy="false"

specifically for the collections:

1. displayNames
2. languageSet
3. contentTypes
4. parameterSet
5. securityRoleRefSet

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.


         auto-delete="true"
         auto-update = "true"
         auto-retrieve = "true"
         proxy="false"



Modified:
    portals/jetspeed-2/trunk/components/registry/src/java/JETSPEED-INF/ojb/registry_repository.xml

Modified: portals/jetspeed-2/trunk/components/registry/src/java/JETSPEED-INF/ojb/registry_repository.xml
URL: http://svn.apache.org/viewcvs/portals/jetspeed-2/trunk/components/registry/src/java/JETSPEED-INF/ojb/registry_repository.xml?rev=391832&r1=391831&r2=391832&view=diff
==============================================================================
--- portals/jetspeed-2/trunk/components/registry/src/java/JETSPEED-INF/ojb/registry_repository.xml
(original)
+++ portals/jetspeed-2/trunk/components/registry/src/java/JETSPEED-INF/ojb/registry_repository.xml
Wed Apr  5 15:19:29 2006
@@ -374,7 +374,7 @@
          auto-delete="true"
          auto-update = "true"
          auto-retrieve = "true"
-         proxy="true"
+         proxy="false"
       >
           <inverse-foreignkey field-ref="parentId"/>
       </collection-descriptor>
@@ -386,7 +386,7 @@
          auto-delete="true"
          auto-update = "true"
          auto-retrieve = "true"
-         proxy="true"
+         proxy="false"
       >
          <inverse-foreignkey field-ref="portletId"/>
 
@@ -398,7 +398,7 @@
          auto-delete="true"
          auto-update = "true"
          auto-retrieve = "true"
-         proxy="true"
+         proxy="false"
       >
 
          <inverse-foreignkey field-ref="portletId"/>
@@ -407,7 +407,7 @@
 
         <collection-descriptor
          name="parameterSet"
-         proxy="true"
+         proxy="false"
          element-class-ref="org.apache.jetspeed.om.impl.PortletInitParameterImpl"
          auto-delete="true"
          auto-update = "true"
@@ -425,7 +425,7 @@
          auto-delete="true"
          auto-update = "true"
          auto-retrieve = "true"
-         proxy="true"
+         proxy="false"
 
        >
          <inverse-foreignkey field-ref="portletId"/>



---------------------------------------------------------------------
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