Re: JDBC problem!

1999-10-04 Thread Peter Mount
On Wed, 29 Sep 1999, [EMAIL PROTECTED] wrote: > Try converting the int into a string. > E.g. > > int pid1; > > pid1=din.readInt(); > > String pid1; > pid1 = Integer.toString(din.readInt()); > > > > I didn't test it, but this seems like the prob

Re: JDBC problem!

1999-10-01 Thread schen
On Thu, 30 Sep 1999, ALPESH KOTHARI wrote: > Hello, > > What you told is perfectly true. But in my case it is > a different story! When I read only characters then > also it create the problem. To rectify it I have > modified my program and now I am reading only few > characters from the file(

Re: JDBC problem!

1999-09-30 Thread Weiqi Gao
ALPESH KOTHARI wrote: > > Hello, > > What you told is perfectly true. But in my case it is > a different story! When I read only characters then > also it create the problem. To rectify it I have > modified my program and now I am reading only few > characters from the file(i.e. not going till

Re: JDBC problem!

1999-09-30 Thread ALPESH KOTHARI
Hello, What you told is perfectly true. But in my case it is a different story! When I read only characters then also it create the problem. To rectify it I have modified my program and now I am reading only few characters from the file(i.e. not going till end of file). Then also the same proble

Re: JDBC problem!

1999-09-30 Thread schen
Hi Alpesh, everyone, On Wed, 29 Sep 1999, ALPESH KOTHARI wrote: > I have written one program in java2 to write the data > in postgresql. I am storing one integer and one string > in the database. When i read the string from the file > it is proper. But when i store it, it gives the > following e

Re: JDBC problem!

1999-09-29 Thread [EMAIL PROTECTED]
Try converting the int into a string. E.g. >int pid1; > pid1=din.readInt(); String pid1; pid1 = Integer.toString(din.readInt()); I didn't test it, but this seems like the problem. Troy > > Hello Everybody, > > I have written one progr

Re: JDBC problem!

1999-09-29 Thread Dallas C. Hockley
ALPESH KOTHARI wrote: > > Hello Everybody, [snip] > following exception: > java.sql.SQLException: ERROR: parser: parse error at > or near "" > [snip] > try > { > pid1=din.readInt(); >

JDBC problem!

1999-09-28 Thread ALPESH KOTHARI
Hello Everybody, I have written one program in java2 to write the data in postgresql. I am storing one integer and one string in the database. When i read the string from the file it is proper. But when i store it, it gives the following exception: java.sql.SQLException: ERROR: parser: parse err