Re: Error retrieving data from DB2 NoSuchMethodEror:sun.io.ByteToCharSingleByte
The class versions in use are incompatible - probably a jar file from the wrong version is being loaded - or it may be a jar precedence problem where one jar has an older version of the class and is being loaded before the jar with the correct version.
Check your classpath jars, especially their order - ensure that the correct jar(s) for the Java version you compiled for are being used and that they precede the other jars on the classpath.
The outcome of any serious research can only be to make two questions grow where only one grew before...
Please use [CODE]...your code here...[/CODE] tags when posting code. If you get an error, please post the full error message and stack trace, if present.