Hi Marcus,

Marcus Breese wrote:
It seems that I'm having problems posting to the list. At any rate...

It seems you are not subscribed to the list. for post of nun-subscribed user a manual affirmation by the list maintainer is required. As I was travelling yesterday, there was some delay for these posts...


subscribing to the list will cure the problem ;-)


My main question rests below, however, I seem to have found a solution... but not answered my question. Is it possible to have a proxied reference within a class that is already dynamic proxied? If I have a reference that is proxy=true, I get metadata errors. If I set proxy=false (in reference), I get no errors...


Is this right?

Is it possible to have recursive references while using a dynamic proxy?

For example, I have a Project class where each project can track its
parent project.

The class is laid out as such:

Project
    |- id
    |- name
    |- parentid
    |- parentidObject

Project has an interface IProject.  Also, Id, Name and parentid are
inherited from a base class.

I can retrieve the Project fine via a dynamic proxy, but when I try to
get the parentIdObject, I get the following error:

13:52:49,838 - ERROR
org.apache.ojb.broker.metadata.fieldaccess.PersistentFieldDefaultImpl -
while set field:
object class[ edu.iupui.cmg.labratj.om.Project
target field: parentIdObject
target field type: interface edu.iupui.cmg.labratj.om.IProject
object value class: $Proxy5
object value: Name: Test Project
Id: 1
PiId: 1
]

Can anyone see where I'm going wrong?

-=-= -=-= -=-= -=-= -=-= -=-= -=-= -=-= -=-= -=-= -=-=-
Marcus Breese                            [EMAIL PROTECTED]
IU School of Medicine              [EMAIL PROTECTED]
Dept. of Biochemistry and Molecular Biology
Center for Medical Genomics / Grow Lab



--------------------------------------------------------------------- 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