You can take the attached PersistentFieldPropertyImpl.java that works around
this issue.

In addition, it supports to set null values. However, the OJB test cases
don't run with this implementation because they seem to rely on the fact
that null values are ignored when setting.

Stephan

----- Original Message -----
From: "Roland Carlsson" <[EMAIL PROTECTED]>
To: "OJB Users List" <[EMAIL PROTECTED]>
Sent: Thursday, November 14, 2002 4:37 PM
Subject: Fw: xXxx property


> Hello!
>  I have a little problem with a class that have properties on the form
xXxx
>  (perhaps I shoud learn regular expressions) ... mPhone, hPhone, wPhone.
I'm
>  using forte to build my access method that looks like this
>
> setMPhone, setWPhone, setHPhone.
>
>  The problem is that it seems to me that OJB doesn't like this and since
it
>  is old classes I can't easily change the names without affecting other
>  systems that i rather doesn't touch if I can avoid this.
>
>  Is there a way to keep my propertiesname in the current form so that I
can
>  reuse the classes as the are?
>
>  The error message is last in the message.
>
> Thanks in advance
>  Roland Carlsson
>
>
> --
> To unsubscribe, e-mail:   <mailto:ojb-user-unsubscribe@;jakarta.apache.org>
> For additional commands, e-mail: <mailto:ojb-user-help@;jakarta.apache.org>
>

Attachment: PersistentFieldPropertyImpl.java
Description: Binary data

--
To unsubscribe, e-mail:   <mailto:ojb-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:ojb-user-help@;jakarta.apache.org>

Reply via email to