Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: Oracle JDBC driver question

Re: Oracle JDBC driver question

From: Neil Zanella <nzanella_at_cs.mun.ca>
Date: 11 Nov 2001 15:29:14 -0800
Message-ID: <b68d2f19.0111111529.3830d160@posting.google.com>


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

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US