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/odmg DatabaseImpl.java
Date Thu, 06 Feb 2003 21:20:26 GMT
brj         2003/02/06 13:20:26

  Modified:    src/java/org/apache/ojb/odmg DatabaseImpl.java
  Log:
  use cast HasBroker
  
  Revision  Changes    Path
  1.21      +2 -2      db-ojb/src/java/org/apache/ojb/odmg/DatabaseImpl.java
  
  Index: DatabaseImpl.java
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/java/org/apache/ojb/odmg/DatabaseImpl.java,v
  retrieving revision 1.20
  retrieving revision 1.21
  diff -u -r1.20 -r1.21
  --- DatabaseImpl.java	9 Jan 2003 17:14:40 -0000	1.20
  +++ DatabaseImpl.java	6 Feb 2003 21:20:25 -0000	1.21
  @@ -402,7 +402,7 @@
           try
           {
               // check whether object's class is persistence capable
  -            PersistenceBroker broker = ((TransactionImpl) tx).getBroker();
  +            PersistenceBroker broker = ((HasBroker) tx).getBroker();
               broker.getClassDescriptor(object.getClass());
               // if a ClassDescriptor was found, OJB knows how to persist the object
               // lock object for write in tx
  
  
  

Mime
View raw message