db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From arm...@apache.org
Subject cvs commit: db-ojb/src/java/org/apache/ojb/broker/metadata RepositoryXmlHandler.java
Date Thu, 16 Sep 2004 18:34:02 GMT
arminw      2004/09/16 11:34:02

  Modified:    src/java/org/apache/ojb/broker/metadata
                        RepositoryXmlHandler.java
  Log:
  fix bug for update-locking attribute
  
  Revision  Changes    Path
  1.63      +6 -3      db-ojb/src/java/org/apache/ojb/broker/metadata/RepositoryXmlHandler.java
  
  Index: RepositoryXmlHandler.java
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/java/org/apache/ojb/broker/metadata/RepositoryXmlHandler.java,v
  retrieving revision 1.62
  retrieving revision 1.63
  diff -u -r1.62 -r1.63
  --- RepositoryXmlHandler.java	14 Sep 2004 16:17:41 -0000	1.62
  +++ RepositoryXmlHandler.java	16 Sep 2004 18:34:02 -0000	1.63
  @@ -446,8 +446,11 @@
   
                           String updateLock = atts.getValue(RepositoryTags.getTagById(UPDATE_LOCK));
                           if (isDebug) logger.debug("     " + RepositoryTags.getTagById(UPDATE_LOCK)
+ ": " + updateLock);
  -                        b = (Boolean.valueOf(updateLock)).booleanValue();
  -                        m_CurrentFLD.setUpdateLock(b);
  +                        if(checkString(updateLock))
  +                        {
  +                            b = (Boolean.valueOf(updateLock)).booleanValue();
  +                            m_CurrentFLD.setUpdateLock(b);
  +                        }
   
                           String fieldConversion = atts.getValue(RepositoryTags.getTagById(FIELD_CONVERSION));
                           if (isDebug) logger.debug("     " + RepositoryTags.getTagById(FIELD_CONVERSION)
+ ": " + fieldConversion);
  
  
  

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