You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ojb-dev@db.apache.org by br...@apache.org on 2003/02/02 17:19:09 UTC

cvs commit: jakarta-ojb/src/java/org/apache/ojb/broker Identity.java

brj         2003/02/02 08:19:09

  Modified:    src/java/org/apache/ojb/broker Identity.java
  Log:
  do not convert pkValues to Sql (by oliver matz)
  
  Revision  Changes    Path
  1.13      +3 -2      jakarta-ojb/src/java/org/apache/ojb/broker/Identity.java
  
  Index: Identity.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ojb/src/java/org/apache/ojb/broker/Identity.java,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- Identity.java	9 Jan 2003 17:11:48 -0000	1.12
  +++ Identity.java	2 Feb 2003 16:19:09 -0000	1.13
  @@ -192,7 +192,8 @@
                   // identities must be unique accross extents !
                   this.objectsClass = targetBroker.getTopLevelClass(objectToIdentitify.getClass());
                   this.objectsRealClass = objectToIdentitify.getClass();
  -                this.pkValues = targetBroker.serviceBrokerHelper().getKeyValues(cld, objectToIdentitify);
  +                // BRJ: do not convertToSql
  +                this.pkValues = targetBroker.serviceBrokerHelper().getKeyValues(cld, objectToIdentitify,false);
               }
   
               checkForPrimaryKeys();