----- Original Message ----- From: "Jakob Braeuchi" <[EMAIL PROTECTED]> To: "OJB Users List" <[EMAIL PROTECTED]> Sent: Wednesday, October 02, 2002 4:44 PM Subject: Re: Bug in QueryByIdentity
> hi thimo, > > i did some changes in getSearchClass of QueryByIdentity, please have a look > at it and give me some feedback. > > thanks > jakob > > ----- Original Message ----- > From: "Thimo K�nig" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Tuesday, October 01, 2002 2:42 PM > Subject: Bug in QueryByIdentity > > > 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]> >
QueryByIdentity.java
Description: Binary data
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
