Re: Oracle and Char[size]

2003-12-04 Thread Martin Kalén
Emmanuel Dupont wrote: I have a table with a PK with char[5] size. When I update with the value FR OJB tries to insert FR . And so it does an insert instead of an update when I still have a FR value in my PK. You could: A) comply with char[5] and use the String FRwith OJB. B) define the

RE : Oracle and Char[size]

2003-12-04 Thread Emmanuel Dupont
Thanks a lot Martin !! -Message d'origine- De : Martin Kalén [mailto:[EMAIL PROTECTED] Envoyé : jeudi 4 décembre 2003 19:08 À : OJB Users List Objet : Re: Oracle and Char[size] Emmanuel Dupont wrote: I have a table with a PK with char[5] size. When I update with the value FR OJB