| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> c.d.o.misc -> Re: Oracle JDBC driver question
The problem was that I inserted strings into a column of type CHAR
rather than VARCHAR which means that the DBMS correctly padded them
with space characters. That was easy enough.
> When I invoke the JDBC ResultSet.getString() method with Oracle I find
> that the values that are retrieved end up having whitespace wrapped
> around them. How can this problem be fixed besides invoking trim()
> on the string value returned?
Received on Sun Nov 11 2001 - 17:29:14 CST
![]() |
![]() |