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: java.lang.String
object value: 123]
This is the interesting part here: the JDBC driver apparently returned
a String ("123]"), not a numeric type. Please check that you don't use
a (N)VARCHAR2 there. You should also make sure that you use the latest
Oracle 10 driver (even if the DB is Oracle 8 or 9).
If that doesn't help, then you should define a field conversion for
this field where you convert between the string and integers.
HTH,
Tom
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]