arminw      2005/03/23 07:12:50

  Modified:    src/java/org/apache/ojb/odmg Tag: OJB_1_0_RELEASE
                        TransactionExt.java
               src/test/org/apache/ojb Tag: OJB_1_0_RELEASE OJB.properties
  Log:
  javadoc
  
  Revision  Changes    Path
  No                   revision
  No                   revision
  1.4.2.2   +22 -9     db-ojb/src/java/org/apache/ojb/odmg/TransactionExt.java
  
  Index: TransactionExt.java
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/java/org/apache/ojb/odmg/TransactionExt.java,v
  retrieving revision 1.4.2.1
  retrieving revision 1.4.2.2
  diff -u -r1.4.2.1 -r1.4.2.2
  --- TransactionExt.java       18 Mar 2005 19:25:06 -0000      1.4.2.1
  +++ TransactionExt.java       23 Mar 2005 15:12:49 -0000      1.4.2.2
  @@ -16,19 +16,31 @@
    * See the License for the specific language governing permissions and
    * limitations under the License.
    */
  +
  +/**
  + * Offers useful none odmg-standard methods.
  + * <p>
  + * Note: All listed methods are <b>not</b> part of the standard ODMG-api -
  + * they are special (proprietary) OJB extensions.
  + * <p/>
  + *
  + * @version $Id$
  + */
   public interface TransactionExt extends Transaction, HasBroker
   {
       /**
  -     * marks an object for deletion without
  -     * locking the object.
  +     * Marks an object for deletion without
  +     * locking the object. If the object wasn't locked before,
  +     * OJB will ask for a WRITE lock at commit.
        *
        * @param  anObject Object to be marked
        */
       public void markDelete(Object anObject);
   
       /**
  -     * marks an object as dirty without
  -     * locking the object.
  +     * Marks an object as dirty without
  +     * locking the object. If the object wasn't locked before,
  +     * OJB will ask for a WRITE lock at commit.
        *
        * @param  anObject Object to be marked
        */
  @@ -50,17 +62,18 @@
       /**
        * This method can be used to activate or deactivate the implicit
        * locking mechanism for the current transaction.
  -     * turning of implicit locking may improve performance but requires
  +     * Turning of implicit locking may improve performance but requires
        * additional care to make sure all changed objects are properly
        * registered to the transaction.
  -     * @param value if set to true implicit locking is enabled, 
  -     *        if false, implicit locking is disabled.
  +     *
  +     * @param value If set <em>true</em> implicit locking is enabled,
  +     *        if <em>false</em>, implicit locking is disabled.
        **/
       public void setImplicitLocking(boolean value);
   
       /**
  -     * Allows to change the <em>cascading delete</em> behavior of the 
specified reference
  -     * of the target class while this transaction is in use.
  +     * Allows to change the <em>cascading delete</em> behavior of the target 
class's
  +     * reference field while this transaction is in use.
        *
        * @param target The class to change cascading delete behavior of the 
references.
        * @param referenceField The field name of the 1:1, 1:n or 1:n reference.
  
  
  
  No                   revision
  No                   revision
  1.75.2.5  +2 -2      db-ojb/src/test/org/apache/ojb/OJB.properties
  
  Index: OJB.properties
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/test/org/apache/ojb/OJB.properties,v
  retrieving revision 1.75.2.4
  retrieving revision 1.75.2.5
  diff -u -r1.75.2.4 -r1.75.2.5
  --- OJB.properties    19 Mar 2005 10:37:50 -0000      1.75.2.4
  +++ OJB.properties    23 Mar 2005 15:12:49 -0000      1.75.2.5
  @@ -408,7 +408,7 @@
   
#PersistentFieldClass=org.apache.ojb.broker.metadata.fieldaccess.PersistentFieldAutoProxyImpl
   #
   # Here are the new upcoming PersistentField implementations. These classes 
will replace the
  -# 'old' ones on next release. They pass the test-suite, but should be tested 
by community too.
  +# 'old' ones on next release. They pass the test-suite and be tested the 
last months.
   # The new implementations are about 50 times faster in handling nested 
fields.
   
PersistentFieldClass=org.apache.ojb.broker.metadata.fieldaccess.PersistentFieldDirectAccessImplNew
   
#PersistentFieldClass=org.apache.ojb.broker.metadata.fieldaccess.PersistentFieldPrivilegedImplNew
  
  
  

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

Reply via email to