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 Andrew Gilbert <ag...@soundbite.com> on 2003/02/20 19:20:18 UTC

Rev 1.13 of Identity - Conversion Test Failures

This change has broken our use of custom FieldConversion for a PK when creating or updating the persistent object. It also seems to introduce a hard error in the unit tests.

Not too familiar with the code yet but would seem something is amiss here.

Thanks

Index: Identity.java
===================================================================
RCS file: /home/cvspublic/db-ojb/src/java/org/apache/ojb/broker/Identity.java,v
retrieving revision 1.13
diff -r1.13 Identity.java
195,196c195
<                 // BRJ: do not convertToSql
<                 this.pkValues = targetBroker.serviceBrokerHelper().getKeyValues(cld, objectToIdentitify,false);
---
>                 this.pkValues = targetBroker.serviceBrokerHelper().getKeyValues(cld, objectToIdentitify);