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/test/org/apache/ojb/odmg DListTest.java
Date Thu, 06 Feb 2003 21:21:23 GMT
brj         2003/02/06 13:21:23

  Modified:    src/test/org/apache/ojb/odmg DListTest.java
  Log:
  use cast HasBroker
  
  Revision  Changes    Path
  1.13      +1 -1      db-ojb/src/test/org/apache/ojb/odmg/DListTest.java
  
  Index: DListTest.java
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/test/org/apache/ojb/odmg/DListTest.java,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- DListTest.java	5 Feb 2003 20:04:40 -0000	1.12
  +++ DListTest.java	6 Feb 2003 21:21:23 -0000	1.13
  @@ -42,7 +42,7 @@
       {
   
           Article a = new Article();
  -        PersistenceBroker broker = ((TransactionImpl) implementation.currentTransaction()).getBroker();
  +        PersistenceBroker broker = ((HasBroker) implementation.currentTransaction()).getBroker();
           a.setArticleId(broker.serviceSequenceManager().getUniqueId(
                   broker.getClassDescriptor(Article.class).getFieldDescriptorByName("articleId")));
           a.setArticleName("New Funny Article " + a.getArticleId());
  
  
  

Mime
View raw message