Hi,

Ziv Yankowitz wrote:

Folks,

we are using the High/Low sequence manager implementation and we try to compute the id in advance with the following code :

PersistenceBroker broker = ((HasBroker) tx).getBroker();
Identity oid = new Identity(object, broker);

we encounter in the following error error :

org.apache.ojb.broker.metadata.ClassNotPersistenceCapableException: Can not init Identity for given object


Say that class of given object could not be found in repository. But maybe there is another reason for that failure, please post the whole stack trace and the error log before failure.


regards,
Armin

what can be the problem?

thanks.



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




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



Reply via email to