I'm still trying to port our applications from Poet to OJB.

Poet has a concept of an object ID, OID. I added the id as a field on each of our objects and map that to the ID column from Poet. The problem is that the OID is global. Given a long, Poet returns an Object. 'Identity's in OJB are not global, but instead scoped to a class. Anyone have a pattern to work around this?

(Possible I'm just completely lost. I was using Longs for my ids, but org.apache.ojb.jdori.sql.OjbStoreManager.getPCClassForOid was throwing a class cast exception, so I assumed that I needed to use org.apache.ojb.broker.Identity for my ids.)

Thanks again,
Joe


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to