|
-
December 19th, 2008, 12:16 AM
#1
Error retrieving data from DB2 NoSuchMethodEror:sun.io.ByteToCharSingleByte
Hi All,
I am trying retrieve data from DB2 database using select command from java code,
able to establish connection but not getting the data, my source data in Croatian Language.
the following error was occurred,
can any one help out me...
Exception in thread "main" java.lang.NoSuchMethodError: sun.io.ByteToCharSingleByte.createCharMap(Ljava/lang/String;Z)[C
at sun.io.ByteToCharCp870.<clinit>(ByteToCharCp870.java:86)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at sun.io.Converters.getConverterClass(Unknown Source)
at sun.io.Converters.newConverter(Unknown Source)
at sun.io.ByteToCharConverter.getConverter(Unknown Source)
at com.ibm.db2.jcc.b.j.a(j.java:426)
at com.ibm.db2.jcc.c.kc.a(kc.java:2366)
at com.ibm.db2.jcc.c.jb.a(jb.java:3167)
at com.ibm.db2.jcc.c.jb.a(jb.java:1720)
at com.ibm.db2.jcc.c.jb.a(jb.java:1647)
at com.ibm.db2.jcc.c.jb.n(jb.java:562)
at com.ibm.db2.jcc.c.jb.j(jb.java:247)
at com.ibm.db2.jcc.c.jb.c(jb.java:57)
at com.ibm.db2.jcc.c.w.c(w.java:42)
at com.ibm.db2.jcc.c.cc.h(cc.java:178)
at com.ibm.db2.jcc.b.sf.p(sf.java:1256)
at com.ibm.db2.jcc.b.sf.a(sf.java:1954)
at com.ibm.db2.jcc.b.sf.a(sf.java:523)
at com.ibm.db2.jcc.b.sf.executeQuery(sf.java:507)
thanks in advance.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|