db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From arm...@apache.org
Subject svn commit: r539065 - /db/ojb/branches/OJB_1_0_RELEASE/src/java/org/apache/ojb/broker/metadata/DescriptorRepository.java
Date Thu, 17 May 2007 18:28:20 GMT
Author: arminw
Date: Thu May 17 11:28:20 2007
New Revision: 539065

URL: http://svn.apache.org/viewvc?view=rev&rev=539065
Log:
re-add method for backward compatibility with 1.0.4 test-suite

Modified:
    db/ojb/branches/OJB_1_0_RELEASE/src/java/org/apache/ojb/broker/metadata/DescriptorRepository.java

Modified: db/ojb/branches/OJB_1_0_RELEASE/src/java/org/apache/ojb/broker/metadata/DescriptorRepository.java
URL: http://svn.apache.org/viewvc/db/ojb/branches/OJB_1_0_RELEASE/src/java/org/apache/ojb/broker/metadata/DescriptorRepository.java?view=diff&rev=539065&r1=539064&r2=539065
==============================================================================
--- db/ojb/branches/OJB_1_0_RELEASE/src/java/org/apache/ojb/broker/metadata/DescriptorRepository.java
(original)
+++ db/ojb/branches/OJB_1_0_RELEASE/src/java/org/apache/ojb/broker/metadata/DescriptorRepository.java
Thu May 17 11:28:20 2007
@@ -142,6 +142,23 @@
 
     /**
      * Remove a pair of extent/classdescriptor from the extentTable.
+     * @param classname the name of the extent itself
+     * @deprecated please use {@link #removeSuperClassForExtent(Class)}
+     */
+    void removeExtent(String classname)
+    {
+        try
+        {
+            removeSuperClassForExtent(ClassHelper.getClass(classname));
+        }
+        catch(ClassNotFoundException e)
+        {
+            e.printStackTrace();
+        }
+    }
+
+    /**
+     * Remove a pair of extent/classdescriptor from the extentTable.
      *
      * @param extent the class of the extent itself.
      */



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


Mime
View raw message