Jabber, I changed the databae to Ms sql server, the program worked very well !
Now I doubt the problem is the translation of chinese and english in java's database driver . My machine is chinese WinNt+jdk1.2+chinese db2 5.0 client. In my program, I connect to an English db2 server in an AIX machine. I know javac has an option "encoding ..." , is it used to change language ?