Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Insert into DB2

 
Mike Yu
Ranch Hand
Posts: 175
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I tried to insert a record into DB2 7.2 on Windows 2000 server. I used JDBC and JSP.
After executing the code, the executeUpdate(StrSql) method returned 1. But when I check the database table, the record was not in the table. This problem also happened when updating or deleting record.
I can insert into the table directly using Command Center.
Can someone help?
[ July 22, 2002: Message edited by: Mike Yu ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic