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:41:21 GMT
brj         2005/04/20 09:41:21

  Modified:    src/java/org/apache/ojb/broker/core Tag: OJB_1_0_RELEASE
                        PersistenceBrokerImpl.java
  Log:
  log an error when deleting non persistent objct (no exception thrown)
  
  Revision  Changes    Path
  No                   revision
  No                   revision
  1.83.2.16 +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.83.2.15
  retrieving revision 1.83.2.16
  diff -u -r1.83.2.15 -r1.83.2.16
  --- PersistenceBrokerImpl.java	17 Apr 2005 13:29:37 -0000	1.83.2.15
  +++ PersistenceBrokerImpl.java	20 Apr 2005 16:41:21 -0000	1.83.2.16
  @@ -511,7 +511,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