File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JDBC and the fly likes Insert into DB2 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Insert into DB2" Watch "Insert into DB2" New topic
Author

Insert into DB2

Mike Yu
Ranch Hand

Joined: Nov 17, 2001
Posts: 175
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 ]

Thanks,<br />Mike
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Insert into DB2
 
Similar Threads
DB2 and automated PK genearation..
SQLException. Generel Error
Errors using Oracle XA datasource
Insert new records in database without deleting existing records
Insert with '