On 7/18/06, ABOU LINA <[EMAIL PROTECTED]> wrote:
Hi, i got this error using db-ojb-1.0.rc5.jar.
thx in advance.
[PersistentField] ERROR: while set field:
object class[ stat.module.diffusion.donnees.BenefDirect
target field: code
target field type: class java.lang.Integer
object value class:
Hi, i got this error using db-ojb-1.0.rc5.jar.
thx in advance.
in the mapping file :
class ="stat.module.diffusion.donnees.BenefDirect"
table ="diff.BENEF"
-
in the table database we declared CODE as NUMBER(12) in oracle.
Message error :
There is a logical difficulty I'm having with using the idiom
"values.value" where values is a list and value is one of the fields in
the elements contained
in the values list. I want to be able to find an item which has two
different values for "values.value" simultaneously. However when I
Well that was the problem. "values" was ArrayList as indicated in the
log I sent out. Changing it to List seems to make it work ok now.
Thanks!
Dave
Armin Waibel wrote:
Hi David,
could it be the case that the type of 'values' is 'ArrayList' instead
of 'List'. OJB internally use specific
Hi David,
could it be the case that the type of 'values' is 'ArrayList' instead of
'List'. OJB internally use specific collection/list implementation classes.
http://db.apache.org/ojb/docu/guides/advanced-technique.html#Manageable+Collection
regards,
Armin
David Forslund wrote:
Thomas Dudzia
Thomas Dudziak wrote:
I can't tell why I can't access the values in PTrait_. What I'm doing
seems consistent with one of the examples in QueryTest except for the
inheritance aspect. Any suggestions?
The IllegalAccess error suggests that you're running in an environment
with a Security
On 10/4/05, David Forslund <[EMAIL PROTECTED]> wrote:
> I get the following error when trying to access a field of an element of
> a list:
>
> [PersistentField] ERROR: while set field:
> [try to set 'object value' in 'target object'
> target obj class: gov.lanl.PidServer.PTrait_
> target field name
I get the following error when trying to access a field of an element of
a list:
[PersistentField] ERROR: while set field:
[try to set 'object value' in 'target object'
target obj class: gov.lanl.PidServer.PTrait_
target field name: values
target field type: class java.util.ArrayList
target fiel