Actually I don't think this problem is directly related to class hints.
In a previous thread Armin mentioned to me that there was a but that
will be fixed in the next released
previouse email from Armin:
> In the next version of OJB this will be fixed (or try the
OJB_1_0_RELEASE branch fro
I am having a problem with class hints. They do not seem to work all
the time with my configuration. If the PartyContactMech object is
stored in the same instance of the server process that I retreive it in
PartyContactMech.contactMech is populated with an instance of
CPhoneNumber or CPosta
Chris Worley wrote:
Armin,
I removed the dynamic proxy from the class descriptors and every thing
works fine. I have not studied them enough to undertand how to handle
them.
In the upcoming 1.0.4 release it will be possible to use proxy handler
classes based on cglib(enabled via OJB.prop
Armin,
I removed the dynamic proxy from the class descriptors and every thing
works fine. I have not studied them enough to undertand how to handle them.
-chris worley
Hi,
ok, now we have a more detailed error message:
[PersistentField] ERROR: while set field:
[try to set 'object value' i
Hi,
ok, now we have a more detailed error message:
[PersistentField] ERROR: while set field:
[try to set 'object value' in 'target object'
target obj class: net.enterprise.common.model.party.CPartyContactMech
target field name: contactMech
target field type: class net.enterprise.common.model.con
Armin,
My ojb version is 1.0.3.
-chris worley
Armin,
Here is the complete output at the time the service is invoked. For
this I have set all proxies back to dynamic in the class descriptors.
If I comment out the reference to the contactMech the party reference
gets populated just fine.
Armin,
Here is the complete output at the time the service is invoked. For
this I have set all proxies back to dynamic in the class descriptors.
If I comment out the reference to the contactMech the party reference
gets populated just fine. I am not sure what the deail is with the
ContactM
Hi Chris,
which version of OJB do you use? Normally OJB will generate a more
detailed error log when field setting fails.
Caused by: org.apache.ojb.broker.metadata.MetadataException:
IllegalAccess error setting field:contactMech in
object:net.enterprise.common.model.party.CPartyContactMech
I have now removed proxy="dynamic" from all my class descriptors and I
no longer get the exception.
After doing some testing. I am finding that sometimes I get the
exception, sometimes it works and sometimes the contactMech is
populated with an instance of CPhoneNumber (which is what i
After doing some testing. I am finding that sometimes I get the
exception, sometimes it works and sometimes the contactMech is populated
with an instance of CPhoneNumber (which is what i want) and sometimes it
just populates with CContactMech. CPhoneNumber extends CContactMech.
I have mo
10 matches
Mail list logo