db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From b..@apache.org
Subject cvs commit: jakarta-ojb/src/java/org/apache/ojb/odmg TransactionImpl.java
Date Sun, 02 Feb 2003 16:18:48 GMT
brj         2003/02/02 08:18:48

  Modified:    src/java/org/apache/ojb/odmg TransactionImpl.java
  Log:
  do not convert pkValues to Sql (by oliver matz)
  
  Revision  Changes    Path
  1.35      +3 -2      jakarta-ojb/src/java/org/apache/ojb/odmg/TransactionImpl.java
  
  Index: TransactionImpl.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ojb/src/java/org/apache/ojb/odmg/TransactionImpl.java,v
  retrieving revision 1.34
  retrieving revision 1.35
  diff -u -r1.34 -r1.35
  --- TransactionImpl.java	2 Feb 2003 15:39:37 -0000	1.34
  +++ TransactionImpl.java	2 Feb 2003 16:18:48 -0000	1.35
  @@ -891,7 +891,8 @@
   
                   // get foreign info for collection elements
                   ClassDescriptor itemCld = this.getBroker().getClassDescriptor(cds.getItemClass());
  -                Object[] objPkValues = this.getBroker().serviceBrokerHelper().getKeyValues(cld,
newTxObject);
  +                // BRJ: do not convertToSql
  +                Object[] objPkValues = this.getBroker().serviceBrokerHelper().getKeyValues(cld,
newTxObject, false);
                   FieldDescriptor[] itemFkFields = cds.getForeignKeyFieldDescriptors(itemCld);
                   /**
                    * itemFkFields will be null in the case of many to many relationships.
  
  
  

Mime
View raw message