db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Legolas Woodland <legola...@gmail.com>
Subject Update took too long and at last it does not do anything
Date Thu, 15 Sep 2005 07:28:13 GMT
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?

Mime
View raw message