Hi Venu,

it ' s hard to send you sample code. The database access is coded over more
then one class which dynamicly build sql statements. The only thing i know
is, that first a simple select is performed. After that one update on the
same table row and then a select again. Could id be that there is a lock on
this row if the statements appear to quickly? What does means "Communication
Link failure" in this context?

Thanks Uwe

----- Original Message -----
From: "Venu A" <[EMAIL PROTECTED]>
To: "Uwe Heldt" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Sunday, July 29, 2001 5:44 PM
Subject: RE: driver problem


> Hi !
>
> Can you please send us the reproducible sample code ? So that we can
figure
> out the things.
>
> Thanks in advance
> Venu
>
> > -----Original Message-----
> > From: Uwe Heldt [mailto:[EMAIL PROTECTED]]
> > Sent: Sunday, July 29, 2001 6:28 AM
> > To: [EMAIL PROTECTED]
> > Subject: driver problem
> >
> >
> > Hi all,
> >
> > i have a problem with the mysql driver. I have developed some
> > java classes to read and write from the database. These classes
> > uses very simple sql statements like insert or update. But
> > sometimes (50%) when i perform a update a got the following exception.
> >
> > java.sql.SQLException: Communication link failure: java.io.IOException
> >  at org.gjt.mm.mysql.MysqlIO.clearAllReceive(MysqlIO.java:1005)
> >  at org.gjt.mm.mysql.MysqlIO.sqlQueryDirect(MysqlIO.java:548)
> >  at org.gjt.mm.mysql.Connection.execSQL(Connection.java:885)
> >  at
> > org.gjt.mm.mysql.PreparedStatement.executeQuery(PreparedStatement.
> > java:288)
> >
> >
> > My system:
> > - Windows 2000
> > - JDK 1.3
> > - MySql Server 3.23.36
> > - mm MySql Driver 2.0.4
> >
> >
> > Can anybody help?
> >
> > Thanks to all
> >
> > Uwe Heldt
> >
>
>
> ---------------------------------------------------------------------
> Before posting, please check:
>    http://www.mysql.com/manual.php   (the manual)
>    http://lists.mysql.com/           (the list archive)
>
> To request this thread, e-mail <[EMAIL PROTECTED]>
> To unsubscribe, e-mail <[EMAIL PROTECTED]>
> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
>


---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to