Author: arminw
Date: Mon Oct 16 05:11:28 2006
New Revision: 464458

URL: http://svn.apache.org/viewvc?view=rev&rev=464458
Log:
rename of sequence manager attributes

Modified:
    
db/ojb/branches/OJB_1_0_RELEASE/src/doc/forrest/src/documentation/content/xdocs/docu/getting-started.xml
    
db/ojb/branches/OJB_1_0_RELEASE/src/doc/forrest/src/documentation/content/xdocs/docu/guides/advanced-technique.xml
    
db/ojb/branches/OJB_1_0_RELEASE/src/doc/forrest/src/documentation/content/xdocs/docu/guides/deployment.xml
    
db/ojb/branches/OJB_1_0_RELEASE/src/doc/forrest/src/documentation/content/xdocs/docu/guides/metadata.xml
    
db/ojb/branches/OJB_1_0_RELEASE/src/doc/forrest/src/documentation/content/xdocs/docu/guides/repository.xml
    
db/ojb/branches/OJB_1_0_RELEASE/src/doc/forrest/src/documentation/content/xdocs/docu/guides/xdoclet-module.xml
    
db/ojb/branches/OJB_1_0_RELEASE/src/doc/forrest/src/documentation/content/xdocs/docu/howtos/howto-forward.xml
    
db/ojb/branches/OJB_1_0_RELEASE/src/doc/forrest/src/documentation/content/xdocs/docu/howtos/howto-work-with-clustering.xml

Modified: 
db/ojb/branches/OJB_1_0_RELEASE/src/doc/forrest/src/documentation/content/xdocs/docu/getting-started.xml
URL: 
http://svn.apache.org/viewvc/db/ojb/branches/OJB_1_0_RELEASE/src/doc/forrest/src/documentation/content/xdocs/docu/getting-started.xml?view=diff&rev=464458&r1=464457&r2=464458
==============================================================================
--- 
db/ojb/branches/OJB_1_0_RELEASE/src/doc/forrest/src/documentation/content/xdocs/docu/getting-started.xml
 (original)
+++ 
db/ojb/branches/OJB_1_0_RELEASE/src/doc/forrest/src/documentation/content/xdocs/docu/getting-started.xml
 Mon Oct 16 05:11:28 2006
@@ -674,10 +674,8 @@
         maxActive="21"
         validationQuery="" />
     <sequence-manager 
className="org.apache.ojb.broker.util.sequence.SequenceManagerHighLowImpl">
-        <attribute attribute-name="grabSize" attribute-value="20"/>
-        <attribute attribute-name="autoNaming" attribute-value="true"/>
-        <attribute attribute-name="globalSequenceId" attribute-value="false"/>
-        <attribute attribute-name="globalSequenceStart" 
attribute-value="10000"/>
+        <attribute attribute-name="seq.grabSize" attribute-value="20"/>
+        <attribute attribute-name="seq.autoNaming" attribute-value="true"/>
     </sequence-manager>
 </jdbc-connection-descriptor>
 ]]></source>

Modified: 
db/ojb/branches/OJB_1_0_RELEASE/src/doc/forrest/src/documentation/content/xdocs/docu/guides/advanced-technique.xml
URL: 
http://svn.apache.org/viewvc/db/ojb/branches/OJB_1_0_RELEASE/src/doc/forrest/src/documentation/content/xdocs/docu/guides/advanced-technique.xml?view=diff&rev=464458&r1=464457&r2=464458
==============================================================================
--- 
db/ojb/branches/OJB_1_0_RELEASE/src/doc/forrest/src/documentation/content/xdocs/docu/guides/advanced-technique.xml
 (original)
+++ 
db/ojb/branches/OJB_1_0_RELEASE/src/doc/forrest/src/documentation/content/xdocs/docu/guides/advanced-technique.xml
 Mon Oct 16 05:11:28 2006
@@ -1712,16 +1712,21 @@
             <p>
                 In <a href="site:basic-technique/one-to-n">1:n</a> or
                 <a href="site:basic-technique/m-to-n">m:n</a> relations, OJB 
can handle
-                <code>java.util.Collection</code> as well as user defined 
collection classes as
-                collection attributes in persistent classes.
-                See <a 
href="site:repository/collection-descriptor">collection-descriptor.collection-class</a>
-                attribute for more information.
+                <code>Collection</code>, <code>List</code>, <code>Set</code>, 
Arrays as well as
+                user defined collection classes as collection attributes in 
persistent classes.
             </p>
             <p>
                 In order to collaborate with the OJB mechanisms
-                these collection must provide a minimum protocol as defined by 
this interface
-                <code>org.apache.ojb.broker.ManageableCollection</code>.
-             </p>
+                these collection must provide a minimum protocol as defined by 
interface
+                <code>org.apache.ojb.broker.ManageableCollection</code> - see 
below.
+            </p>
+            <p>
+                By default OJB use the collection implementation classes 
specified in the
+                <a href="ext:ojb.properties">OJB.properties</a> file. But it's 
also possible to
+                define specific classes for each 
<code>collection-descriptor</code>. See attribute
+                <a 
href="site:repository/collection-descriptor">collection-descriptor.collection-class</a>
+                for more information.
+            </p>
                 <source><![CDATA[
 public interface ManageableCollection extends java.io.Serializable
 {
@@ -1888,34 +1893,40 @@
                     was introduced. Now we talk about which type to use.
                 </p>
                 <p>
-                    By default OJB use a <em>removal-aware</em> collection 
implementation.
-                    These implementations (classes prefixed with 
<em>Removal...</em>) track
-                    removal and addition of elements.
+                    By default OJB use a <em>removal-aware</em> collection 
implementations for
+                    <a href="site:basic-technique/one-to-n">1:n relations</a> 
and normal manageable
+                    collection implementations for <a 
href="site:basic-technique/m-to-n">m:n relations</a>.
                     <br/>
-                    This tracking allow the PersistenceBroker
+                    Removal aware implementations (classes prefixed with 
<em>Removal...</em>) track
+                    removal and addition of elements.
+                    This tracking allow the <code>PersistenceBroker</code>
                     to <strong>delete elements</strong> from the database that 
have been
-                    removed from the collection before a PB.store() operation 
occurs.
+                    removed from the collection before a 
<code>PB.store()</code> operation occurs.
                 </p>
                 <p>
-                    This default behaviour is <strong>undesired</strong> in 
some cases:
+                    Using removal aware This default behaviour is 
<strong>undesired</strong> in some cases:
                 </p>
                     <ul>
                         <li>
-                            In <a href="site:basic-technique/m-to-n">m:n 
relations</a>, e.g. between <em>Movie</em> and <em>Actor</em>
+                            In <a href="site:basic-technique/m-to-n">m:n 
relations</a>,
+                            e.g. between <em>Movie</em> and <em>Actor</em>
                             class. If an Actor was removed from the Actor 
collection of a Movie object
                             expected behaviour was that the Actor be removed 
from the
                             <a href="site:basic-technique/m-to-n">indirection 
table</a>, but not
                             the Actor itself. Using a removal aware collection 
will remove the Actor
-                            too. In that case a simple manageable collection 
is recommended by set e.g.
+                            too. In that case a simple manageable collection 
is recommended (this is the default
+                            behavior of OJB or by set e.g.
                             
<code>collection-class="org.apache.ojb.broker.util.collections.ManageableArrayList"</code>
-                            in collection-descriptor.
+                            in 
<code>collection-descriptor#collection-class</code> attribute.
                         </li>
                         <li>
                             In <a href="site:basic-technique/one-to-n">1:n 
relations</a> when the
                             n-side objects be removed from the collection of 
the main object, but we don't
-                            want to remove them itself (be careful with this, 
because the FK entry of the main
-                            object still exists - more info about
-                            <a href="site:basic-technique/linking">linking 
here</a>).
+                            want to remove the n-side object from database, 
only to <em>nullify</em> the foreign keys
+                            pointing to the main object itself. Then we can 
use a normal manageable collection
+                            implementation instead of a removal aware (to 
<em>nullify</em> the FK entry in the n-side
+                            object you have manually <em>unlink</em> the 
object (nullify all FK fields)
+                            - more info about <a 
href="site:basic-technique/linking">linking here</a>).
                         </li>
                     </ul>
             </section>

Modified: 
db/ojb/branches/OJB_1_0_RELEASE/src/doc/forrest/src/documentation/content/xdocs/docu/guides/deployment.xml
URL: 
http://svn.apache.org/viewvc/db/ojb/branches/OJB_1_0_RELEASE/src/doc/forrest/src/documentation/content/xdocs/docu/guides/deployment.xml?view=diff&rev=464458&r1=464457&r2=464458
==============================================================================
--- 
db/ojb/branches/OJB_1_0_RELEASE/src/doc/forrest/src/documentation/content/xdocs/docu/guides/deployment.xml
 (original)
+++ 
db/ojb/branches/OJB_1_0_RELEASE/src/doc/forrest/src/documentation/content/xdocs/docu/guides/deployment.xml
 Mon Oct 16 05:11:28 2006
@@ -1095,7 +1095,7 @@
 
 <sequence-manager
 className="org.apache.ojb.broker.util.sequence.SequenceManagerNextValImpl">
-<attribute attribute-name="grabSize" attribute-value="20"/>
+<attribute attribute-name="seq.grabSize" attribute-value="20"/>
 </sequence-manager>
 </jdbc-connection-descriptor>]]></source>
                         <note>

Modified: 
db/ojb/branches/OJB_1_0_RELEASE/src/doc/forrest/src/documentation/content/xdocs/docu/guides/metadata.xml
URL: 
http://svn.apache.org/viewvc/db/ojb/branches/OJB_1_0_RELEASE/src/doc/forrest/src/documentation/content/xdocs/docu/guides/metadata.xml?view=diff&rev=464458&r1=464457&r2=464458
==============================================================================
--- 
db/ojb/branches/OJB_1_0_RELEASE/src/doc/forrest/src/documentation/content/xdocs/docu/guides/metadata.xml
 (original)
+++ 
db/ojb/branches/OJB_1_0_RELEASE/src/doc/forrest/src/documentation/content/xdocs/docu/guides/metadata.xml
 Mon Oct 16 05:11:28 2006
@@ -170,7 +170,7 @@
         />
 
         <sequence-manager 
className="org.apache.ojb.broker.util.sequence.SequenceManagerHighLowImpl">
-            <attribute attribute-name="grabSize" attribute-value="5"/>
+            <attribute attribute-name="seq.grabSize" attribute-value="5"/>
         </sequence-manager>
     </jdbc-connection-descriptor>
 

Modified: 
db/ojb/branches/OJB_1_0_RELEASE/src/doc/forrest/src/documentation/content/xdocs/docu/guides/repository.xml
URL: 
http://svn.apache.org/viewvc/db/ojb/branches/OJB_1_0_RELEASE/src/doc/forrest/src/documentation/content/xdocs/docu/guides/repository.xml?view=diff&rev=464458&r1=464457&r2=464458
==============================================================================
--- 
db/ojb/branches/OJB_1_0_RELEASE/src/doc/forrest/src/documentation/content/xdocs/docu/guides/repository.xml
 (original)
+++ 
db/ojb/branches/OJB_1_0_RELEASE/src/doc/forrest/src/documentation/content/xdocs/docu/guides/repository.xml
 Mon Oct 16 05:11:28 2006
@@ -927,11 +927,11 @@
     SequenceManagerInMemoryImpl, SequenceManagerNextValImpl
     please see "Sequence Manager" guide or/and javadoc of class for more 
information -->
     <attribute attribute-name="seq.start" attribute-value="200000"/>
-    <attribute attribute-name="autoNaming" attribute-value="true"/>
+    <attribute attribute-name="seq.autoNaming" attribute-value="true"/>
 
     <!-- attributes supported by SequenceManagerHighLowImpl
     please see "Sequence Manager" guide or/and javadoc of classes for more 
information -->
-    <attribute attribute-name="grabSize" attribute-value="20"/>
+    <attribute attribute-name="seq.grabSize" attribute-value="20"/>
 
     <!-- optional attributes supported by SequenceManagerNextValImpl (support 
depends
     on the used database), please see "Sequence Manager" guide or/and javadoc 
of

Modified: 
db/ojb/branches/OJB_1_0_RELEASE/src/doc/forrest/src/documentation/content/xdocs/docu/guides/xdoclet-module.xml
URL: 
http://svn.apache.org/viewvc/db/ojb/branches/OJB_1_0_RELEASE/src/doc/forrest/src/documentation/content/xdocs/docu/guides/xdoclet-module.xml?view=diff&rev=464458&r1=464457&r2=464458
==============================================================================
--- 
db/ojb/branches/OJB_1_0_RELEASE/src/doc/forrest/src/documentation/content/xdocs/docu/guides/xdoclet-module.xml
 (original)
+++ 
db/ojb/branches/OJB_1_0_RELEASE/src/doc/forrest/src/documentation/content/xdocs/docu/guides/xdoclet-module.xml
 Mon Oct 16 05:11:28 2006
@@ -1426,9 +1426,10 @@
                         <code>access='readonly'</code>
                         (if it isn't an anonymous field). The
                         <code>database</code> value is intended to be used 
with the
-                        
<code>org.apache.ojb.broker.util.sequence.SequenceManagerNativeImpl</code> 
sequence manager. For
-                        details, see the
-                        <a 
href="sequencemanager.html#nativeSequenceManager">Sequence Manager 
documentation</a>.
+                        a identity column based <code>SequenceManager</code> 
like
+                        
<code>org.apache.ojb.broker.util.sequence.SequenceManagerIdentityImpl</code>.
+                        For details, see the
+                        <a 
href="site:sequence-manager/identity-columns">Sequence Manager 
documentation</a>.
                         <br/>The default value is
                         <code>none</code> which means that the field is not 
automatically filled.
                         <br/>

Modified: 
db/ojb/branches/OJB_1_0_RELEASE/src/doc/forrest/src/documentation/content/xdocs/docu/howtos/howto-forward.xml
URL: 
http://svn.apache.org/viewvc/db/ojb/branches/OJB_1_0_RELEASE/src/doc/forrest/src/documentation/content/xdocs/docu/howtos/howto-forward.xml?view=diff&rev=464458&r1=464457&r2=464458
==============================================================================
--- 
db/ojb/branches/OJB_1_0_RELEASE/src/doc/forrest/src/documentation/content/xdocs/docu/howtos/howto-forward.xml
 (original)
+++ 
db/ojb/branches/OJB_1_0_RELEASE/src/doc/forrest/src/documentation/content/xdocs/docu/howtos/howto-forward.xml
 Mon Oct 16 05:11:28 2006
@@ -97,7 +97,7 @@
                 task with
             </p>
             <source><![CDATA[
-ant -Dinput=/mySource/repository.xml -Dbeans.output=/mySource/beans forward
+ant -Dinput=/mySource/repository.xml -Dbean.output=/mySource/beans forward
             ]]></source>
         </section>
 

Modified: 
db/ojb/branches/OJB_1_0_RELEASE/src/doc/forrest/src/documentation/content/xdocs/docu/howtos/howto-work-with-clustering.xml
URL: 
http://svn.apache.org/viewvc/db/ojb/branches/OJB_1_0_RELEASE/src/doc/forrest/src/documentation/content/xdocs/docu/howtos/howto-work-with-clustering.xml?view=diff&rev=464458&r1=464457&r2=464458
==============================================================================
--- 
db/ojb/branches/OJB_1_0_RELEASE/src/doc/forrest/src/documentation/content/xdocs/docu/howtos/howto-work-with-clustering.xml
 (original)
+++ 
db/ojb/branches/OJB_1_0_RELEASE/src/doc/forrest/src/documentation/content/xdocs/docu/howtos/howto-work-with-clustering.xml
 Mon Oct 16 05:11:28 2006
@@ -145,7 +145,7 @@
                     </ul>
                     <source><![CDATA[
 <sequence-manager 
className="org.apache.ojb.broker.util.sequence.SequenceManagerNextValImpl">
-    <attribute attribute-name="autoNaming" attribute-value="true"/>
+    <attribute attribute-name="seq.autoNaming" attribute-value="true"/>
 </sequence-manager>]]></source>
                     <p>
                         More about



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to