Thanks for responding so quickly.
But it seems the error wasn't due to fact that java didn't trim the string correctly. It was a whole other issue.
But I'll try it anyway.
The reason why the trim method doesn't trim the white spaces coming from a DB2 query is because the character returned is...
Hi, I've got a sort of a challenge...
A DB2 query that returns a CHAR type (not VARCHAR) is being set to a String. When this string is printed it has spaces behind it, because when you insert into a char-column in DB2 it fills the rest with spaces. Now we want to trim these spaces out of the...
I need some help with this error, I know it's something about classes being different. But it's kinda strange in this case.
We're working on this project in which we use a SessionFacade to make the calls to the EJB's. In the facade there are methods which do these calls, so all you need to do...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.