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
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(
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
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
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
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
ALPESH KOTHARI wrote:
>
> Hello Everybody,
[snip]
> following exception:
> java.sql.SQLException: ERROR: parser: parse error at
> or near ""
>
[snip]
> try
> {
> pid1=din.readInt();
>
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