When I'm using QueryByIdentity i get the following exception:

2002-10-01 14:40:01,155 ERROR [org.jboss.ejb.plugins.LogInterceptor]
TransactionRolledbackException, causedBy:
org.apache.ojb.broker.metadata.ClassNotPersistenceCapableException:
org.apache.ojb.broker.Identity not found in OJB Repository



In my opinion this is a bug in the QueryByIdentity class.

o The constructor should accept Identities but not Objects
or
o getSearchClass() should return the class of the object encapsulated by
the Identity and not Identity.class

What do you think?

Thimo

--
Thimo K�nig Dipl.-Ing.(FH)
ARMAX mindware GmbH
Bernh�user Strasse 3
70771 Leinfelden-Echterdingen

Fon: 0711 7823996-14
Fax: 0711 7823996-64
[EMAIL PROTECTED]

http://www.armax.de

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

Reply via email to