You could consider changing the PK to be VARCHAR. Oracle will then
automatically
strip the trailing spaces.

Groeten,

   Cor.

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Erik G. Dybdahl
Sent: Thursday, February 01, 2001 12:32
To: jBoss
Subject: [jBoss-User] JAWS: How to deal with CHAR-columns and
trailingspaces


We have an Oracle table where the PK column is of type CHAR(8).
Using the default mechanism for CMP-beans, this means that the client has to
provide 8 characters for the parameter to findByPrimaryKey,
hence shorter parameters must be padded with blanks.
Also, retrieved values must be trimmed.
Is it possible to make JAWS handle this automatically?
erik


_____________________________________________________________
Do You Yahoo!?
Få din egen, gratis @yahoo.no-adresse på http://mail.yahoo.no


--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
List Help?:          [EMAIL PROTECTED]




--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
List Help?:          [EMAIL PROTECTED]

Reply via email to