Just an FYI for any user that wants to have a change put in OJB: this is how to do it.
great work, Russell. -----Original Message----- From: Russell Smyth [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 10, 2002 11:13 AM To: 'OJB Developers List' (E-mail) Subject: [PATCH]references with converted key fields do not work During my OJB experimentation, I found that an object reference that referenced a field using a converter class would not work. Attatched are a test case, test data, and a fix patch for this problem. Note: The test conversion is non-sensical and not intended for any serious use, just for test proof! New Files (tests for problem): src/test/org/apache/ojb/broker/ConvertedKeyReferenceTest.java src/test/org/apache/ojb/broker/ConversionReferrer.java src/test/org/apache/ojb/broker/ConversionReferred.java src/test/org/apache/ojb/broker/TestInt2IntConverter.java patch for src/test/org/apache/ojb/broker/AllTests.java (adds new tests) AllTests.patch patches for src/test/org/apache/ojb/repository_junit.xml src/schema/ojbtest-data.dtd src/schema/ojbtest-data.xml src/schema/ojbtest-schema.xml (new test data for new tests) repository_junit.patch ojbtest-data.dtd.patch ojbtest-data.xml.patch ojbtest-schema.xml.patch patch for src/java/org/apache/ojb/broker/metadata/ObjectReferenceDescriptor.java (fix for problem: modified to return converted field values from getForeignKeyValues) ObjectReferenceDescriptor.patch Thanks Russell -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
