db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From arm...@apache.org
Subject svn commit: r538357 - /db/ojb/branches/OJB_1_0_RELEASE/src/java/org/apache/ojb/broker/metadata/RepositoryXmlHandler.java
Date Tue, 15 May 2007 22:55:30 GMT
Author: arminw
Date: Tue May 15 15:55:29 2007
New Revision: 538357

URL: http://svn.apache.org/viewvc?view=rev&rev=538357
Log:
set String instead of class

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

Modified: db/ojb/branches/OJB_1_0_RELEASE/src/java/org/apache/ojb/broker/metadata/RepositoryXmlHandler.java
URL: http://svn.apache.org/viewvc/db/ojb/branches/OJB_1_0_RELEASE/src/java/org/apache/ojb/broker/metadata/RepositoryXmlHandler.java?view=diff&rev=538357&r1=538356&r2=538357
==============================================================================
--- db/ojb/branches/OJB_1_0_RELEASE/src/java/org/apache/ojb/broker/metadata/RepositoryXmlHandler.java
(original)
+++ db/ojb/branches/OJB_1_0_RELEASE/src/java/org/apache/ojb/broker/metadata/RepositoryXmlHandler.java
Tue May 15 15:55:29 2007
@@ -357,7 +357,7 @@
                                 if (isDebug) logger.debug("     > " + tags.getTagById(OBJECT_CACHE));
                                 ObjectCacheDescriptor ocd = new ObjectCacheDescriptor();
                                 this.m_CurrentAttrContainer = ocd;
-                                ocd.setObjectCache(ClassHelper.getClass(className));
+                                ocd.setObjectCache(className);
                                 if(m_CurrentCLD != null)
                                 {
                                     m_CurrentCLD.setObjectCacheDescriptor(ocd);
@@ -692,7 +692,7 @@
                         if (collectionClassName != null)
                         {
                             if (isDebug) logger.debug("     " + tags.getTagById(COLLECTION_CLASS)
+ ": " + collectionClassName);
-                            m_CurrentCOD.setCollectionClass(ClassHelper.getClass(collectionClassName));
+                            m_CurrentCOD.setCollectionClassName(collectionClassName);
                         }
                         // set element-class-ref attribute
                         String elementClassRef = atts.getValue(tags.getTagById(ITEMS_CLASS));



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