db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Armin Waibel (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (OJB-55) Getting foreignkeyField's FieldDescriptor is failing if the foreignkey field is defined in the base class
Date Wed, 16 Nov 2005 01:32:28 GMT
     [ http://issues.apache.org/jira/browse/OJB-55?page=all ]
     
Armin Waibel resolved OJB-55:
-----------------------------

    Fix Version: 1.0.4
     Resolution: Fixed

applied with minor changes

> Getting foreignkeyField's FieldDescriptor is failing if the foreignkey field is defined
in the base class
> ---------------------------------------------------------------------------------------------------------
>
>          Key: OJB-55
>          URL: http://issues.apache.org/jira/browse/OJB-55
>      Project: OJB
>         Type: Bug
>   Components: PB-API
>     Versions: 1.0.3
>  Environment: Windows 2000, Jboss application server
>     Reporter: Rajadurai
>      Fix For: 1.0.4
>  Attachments: ObjectReferenceDescriptor.java
>
> Hi,
>    we are using ojb in one of our application.  
> We got  the exception when we try to find the entity whos parent's foreign key field
is null.
> that is out critier will be "attr IS NULL"
> Basically getForeignKeyFieldDescriptors() method in ObjectReferenceDescriptor.java is
trying to find the foreignkeyfieldDescritpros in the current class only, thats why its giving
exception.
> If it is not available in the current class then it has to find from base class.
>  I have changed ObjectReferenceDescriptor.java -> getForeignKeyFieldDescriptors()
method. 
> i m attaching that file also.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-dev-help@db.apache.org


Mime
View raw message