Hi,

I have an Object stored in a SAPDB with a Varchar field mapped to a String.

i.e..
            private String text;

 <field-descriptor id="7" name="text" column="text" jdbc-type="VARCHAR"/>

The String may have trailing spaces which must not be lost. These trailing
space are however somehow lost during the write.
This change does not become immediately apparent. As long as the program is
running, repeated retrieval will retrieve correct
values including the trailing spaces ( I am using the Object cache).
Restart of the VM will result in the trailing spaces being
lost.

A look on the SAPDB reveals that the trailing spaces are not written.

Using a test table yields that the jdbc driver is working fine and is able
to retrieve trailing spaces as well as a single blank,  which also is valid
content for my text.

What to do ?

Cheers,
  Stefan







---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to