db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Knut Anders Hatlen <Knut.Hat...@sun.com>
Subject Re: Update took too long and at last it does not do anything
Date Thu, 15 Sep 2005 07:38:44 GMT
Legolas Woodland <legolas.w@gmail.com> writes:

> Hi
> I used derby for a project (i have latest version)
> When i update a record from my java code its dies and do nothing where i think my codes
are true,
> here is the code.
> String uStr = "update EMPLOYEE set FIRSTNME=?,MIDINIT=? where EMPNO=?";
> pstmt.setString(1, getFirstName());
>                 pstmt.setString(2, getMidName());
>                 pstmt.setString(3, getLastName());
> pstmt.executeUpdate()
> where the connection comes from a connection pool,
> I test the connection by inserting data and data insert correctly.
> can some one help me pleas?

What error messages are you seeing when your application dies?

Knut Anders

View raw message