db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From b..@apache.org
Subject cvs commit: db-ojb/src/java/org/apache/ojb/broker/core PersistenceBrokerImpl.java
Date Wed, 20 Apr 2005 16:39:40 GMT
brj         2005/04/20 09:39:40

  Modified:    src/java/org/apache/ojb/broker/core
                        PersistenceBrokerImpl.java
  Log:
  log an error when deleting non persistent objct (no exception thrown)
  
  Revision  Changes    Path
  1.116     +2 -2      db-ojb/src/java/org/apache/ojb/broker/core/PersistenceBrokerImpl.java
  
  Index: PersistenceBrokerImpl.java
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/java/org/apache/ojb/broker/core/PersistenceBrokerImpl.java,v
  retrieving revision 1.115
  retrieving revision 1.116
  diff -u -r1.115 -r1.116
  --- PersistenceBrokerImpl.java	17 Apr 2005 13:08:08 -0000	1.115
  +++ PersistenceBrokerImpl.java	20 Apr 2005 16:39:39 -0000	1.116
  @@ -624,7 +624,7 @@
               {
                   String msg = "Cannot delete object without valid PKs. " + obj;
                   logger.error(msg);
  -                throw new PersistenceBrokerException(msg);
  +                return;
               }
   
               /**
  
  
  

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