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/03/01 23:17:46 UTC
cvs commit: db-ojb/src/java/org/apache/ojb/broker Identity.java
brj 2003/03/01 14:17:46
Modified: src/java/org/apache/ojb/broker Identity.java
Log:
convert key values to sql
Revision Changes Path
1.15 +4 -3 db-ojb/src/java/org/apache/ojb/broker/Identity.java
Index: Identity.java
===================================================================
RCS file: /home/cvs/db-ojb/src/java/org/apache/ojb/broker/Identity.java,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- Identity.java 21 Feb 2003 20:48:21 -0000 1.14
+++ Identity.java 1 Mar 2003 22:17:46 -0000 1.15
@@ -192,8 +192,9 @@
// identities must be unique accross extents !
this.objectsClass = targetBroker.getTopLevelClass(objectToIdentitify.getClass());
this.objectsRealClass = objectToIdentitify.getClass();
- // BRJ: do not convertToSql
- this.pkValues = targetBroker.serviceBrokerHelper().getKeyValues(cld, objectToIdentitify,false);
+
+ // BRJ: do convertToSql
+ this.pkValues = targetBroker.serviceBrokerHelper().getKeyValues(cld, objectToIdentitify, true);
}
checkForPrimaryKeys();